This presentation is the property of its rightful owner.
Sponsored Links
1 / 15

ВВОДНОЕ ЗАНЯТИЕ PowerPoint PPT Presentation


  • 125 Views
  • Uploaded on
  • Presentation posted in: General

Национальный технический университет «Харьковский политехнический институт». Кафедра «Промышленная и биомедицинская электроника». Практическое занятие по дисциплине «Микропроцессорная техника». ВВОДНОЕ ЗАНЯТИЕ. Б.А. Стысло. г. Харьков, 2014 г. Микроконтроллер. Приятно познакомиться!.

Download Presentation

ВВОДНОЕ ЗАНЯТИЕ

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


5789991

..

. , 2014 .


5789991

. !

?


5789991

()

,

voidmain(void)

{intdat=0;

SCON = 0x50;

TH1 = 0xFD;

TMOD |= 0x20;

TR1 = 1;

TI = 1;

while(1)

{

printf ("Inputdata, please: > ");

scanf (&dat);

printf ("Ok, dataof %d iscorrect!",dat);

}

}

Hardware()

+

Software ()

Hardware()


5789991

  • (assembler, C);

  • ;

  • , ;

  • *hex-;


5789991

:

MOV P1, #173

MOV P1, #10101101b

MOV P1, #ADh

  • 51 :

  • ;

  • ;

  • .


5789991

:

:

1.1. 3h ;

1.2. 10100011b ;

1.3. 163 .

2. 0, 2, 4, 7 :

2.1. 95h;

2.2. 10010101b;

2.3. 149;

3. 5 :

2.1. db F0h, 88h, 77h, 9Ah, 99h;

2.2. db11110000b, 10001000b, 1110111b, 10011010b, 10011001b;

2.3. db 240, 136, 119, 154, 153;


5789991

5555

:

10

N- - N


5789991

: 2 , , 1. .


5789991

: , 2, .


5789991

: , ( ), , , 16-.


5789991

10 2 16

3

205

233

11001101b

11101001b

CDh

E9h


5789991

( )

:

( )

:


5789991

1. b. 0, 3, 5, 6, .

2. b. 0, 3, 5, 6, .

3. b. 1, 2, 7, 0, 6, .


5789991

10 :


5789991

The End.

Thank you for your attention!


  • Login