| поискавой системы для электроныых деталей |
|
ST6369 датащи(PDF) 28 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST6369 датащи(HTML) 28 Page - STMicroelectronics |
|
28 / 71 page ![]() 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. Set to 04H at power-on. Bit 2 (PC2 pin) is set to one (open drain therefore high im- pedence). 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 se- lected). 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 26. Port A, B, C Data Register DDRA, DDRB,DDRC 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 27. Port A, B, C Data Register 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). Ta- ble 8 shows all the port configurations that can be selected by the user software. INPUT/OUTPUT PORTS (Continued) ® ST6369 24/67 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |