поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

7220 датащи(PDF) 70 Page - Renesas Technology Corp

номер детали 7220
подробное описание детали  8-BIT SINGLE-CHIP MICROCOMPUTER
PDF  303 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  RENESAS [Renesas Technology Corp]
домашняя страница  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

7220 датащи(HTML) 70 Page - Renesas Technology Corp

Back Button 7220 Datasheet HTML 66Page - Renesas Technology Corp 7220 Datasheet HTML 67Page - Renesas Technology Corp 7220 Datasheet HTML 68Page - Renesas Technology Corp 7220 Datasheet HTML 69Page - Renesas Technology Corp 7220 Datasheet HTML 70Page - Renesas Technology Corp 7220 Datasheet HTML 71Page - Renesas Technology Corp 7220 Datasheet HTML 72Page - Renesas Technology Corp 7220 Datasheet HTML 73Page - Renesas Technology Corp 7220 Datasheet HTML 74Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 70 / 303 page
background image
2-43
7220 Group User’s Manual
FUNCTIONAL DESCRIPTION
2.7 Serial I/O
2.7.5 Serial I/O data receive method (when an internal clock is selected)
(1)
Initialization
First, set the serial I/O mode register (address 00DC16) as follows.
Œ Select the synchronous clock (SM2 = “1,” SM1, SM0).
 Set P20 as pin SCLK (SM3 = “1”). Pin P21/SOUT is not used when receiving serial data. However,
since the serial I/O port selection bit (SM3) is also used for setting pin SOUT, port P21 is automatically
set as pin SOUT and loses its general-purpose I/O port function.
Ž Select the serial input pin by the serial input pin selection bit (SM6). When SM6 = “0,” signal is
input from pin P22/SIN; when SM6 = “1,” signal is input from pin P21/SOUT. When pin P22/SIN is a
input pin, set the port P2 direction register to input mode (“0”). For pins P20/SCLK and P21/SOUT, the
corresponding bits of the port P2 direction register are automatically set by setting the serial I/O
mode register.
(2)
Receive enable state
After the above setting have been made, write “FF16” to the serial I/O register (address 00DD16). The
serial I/O counter is then set to “0716” during the write cycle and receive is enabled.
(3)
Receive operation
The data from the serial I/O data input pins (SOUT or SIN) is received one bit at a time into the serial
I/O register in synchronization with rising edges of the transfer clock.
Receive operation is performed according to bit 5 (SM5) of the serial I/O mode register:
Œ When SM5 is set to “0,” data is received from MSB (bit 7) of the register and shifted to the right
(to low-order bit) every time new data is received.
 When SM5 is set to “1,” data is received from LSB (bit 0) of the register and shifted to the left (to
high-order bit) every time new data is received.
When all 8-bit data have been received, the serial I/O interrupt request bit (bit 2) of the interrupt
request register 2 (address 00FD16) is set to “1.”
Fig. 2.7.4 Serial I/O register when receiving (when SM5 = “0”)
Transfer clock
Serial I/O register
MSB
LSB
D0
D1 D0
D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
When receiving
Note: To start receiving, set “FF16” to the serial I/O register.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com