| 전자부품 데이터시트 검색엔진 |
|
ST63126 데이터시트(PDF) 29 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST63126 데이터시트(HTML) 29 Page - STMicroelectronics |
|
29 / 86 page ![]() DDR DR Mode Option 0 0 Input With on-chip pull-up resistor 0 1 Input Without on-chip pull-up resistor 1 X Output Open-drain or Push-Pull Note: X: Means don’t care. Table 8. I/O Port Options Selection DRA, DRB, DRC Port A, B, C Data Register ( C0h PA, C1h PB, C2h PC Read/ Write ) D7 D6 D5 D4 D3 D2 D1 D0 PA0 - PA7 = Data Bits PB0 - PB7 = Data Bits PC0 - PC7 = Data Bits Figure 24. Port A, B, C Data Register DDRPA, DDRPB,DDRPC Port A, B, C Data Direction Register ( C4h PA, C5h PB, C6h PC Read/ Write ) D7 D6 D5 D4 D3 D2 D1 D0 PA0 - PA7 = Data Direction Bits PB0 - PB7 = Data Direction Bits PC0 - PC7 = Data Direction Bits “0” Defines bit as Inpu t ”1” Defines bit as Outpu t Figure 25. Port A, B, C Data Direction Register INPUT/OUTPUT PORTS (Continued) PA7-PA0. These are the I/O port A data direction bits. When a bit is cleared to zero the related I/O line is in input mode, if bit is set to one the related I/O line is in output mode. Reset at power-on. PB7-PB0. These are the I/O port B data direction bits. When a bit is cleared to zero the related I/O line is in input mode, if bit is set to one the related I/O line is in output mode. Reset at power-on. PC7-PC0. These are the I/O port C data direction bits. When a bit is cleared to zero the related I/O line is in input mode, if bit is set to one the related I/O line is in output mode. Set to 04h at power-on. Bit 2 (PC2 pin) is set to one (output mode selected) as this line is intended for TV ON-OFF switching. I/O Pin Programming Each pin can be individually programmed as input or output with different input and output configurations. This is achieved by writing to the relevant bit in the data (DR) and data direction register (DDR). Table 8 shows all the port configurations that can be se- lected by the user software. PA7-PA0. These are the I/O port A data bits. Reset at power-on. PB7-PB0. These are the I/O port B data bits. Reset at power-on. PC7-PC0. These are the I/O port C data bits. Reset at power-on. ® ST63140,142,126,156 25/82 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |