| Os motores de busca de Datasheet de Componentes eletrônicos |
|
ST6373 Folha de dados(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST6373 Folha de dados(HTML) 30 Page - STMicroelectronics |
|
30 / 64 page ![]() ST6373 30/64 I/O PORTS (Cont’d) 4.1.1 Details of I/O Ports A and B Each pin of Ports A and B can be individually pro- grammed as input or output with different input and output configurations. This is achieved by writing the relevant bit in the data register (DR), data direction register (DDR) and option register (OR). Table 8 shows all the port configurations that can be selected by user software. 4.1.1.1 Input Option Description Pull-up, High Impedance Option. All the input lines can be individually programmed with or with- out an internal pull-up according to the codes pro- grammed in the OR and DR registers. If the pull-up is not selected, the input pin is in the high imped- ance state. Interrupt Option. All the input lines can be individ- ually connected by software to the interrupt lines of the MCU core according to the codes programmed in the OR and DR registers. The pins of Port A and B are “ORed” and are connected to the interrupt associated to the vector #1. Analog Input Option. The PB0-PB7 pins can be configured to be analog inputs according to the codes programmed in the OR and DR registers. These analog inputs are connected to the on-chip 8-bit Analog to Digital Converter. ONLY ONE pin should be programmed as analog input at a time, otherwise the selected inputs will be shorted. Table 8. I/O Port Options Selection (Ports A and B only) Note X: Means don’t care. DDR OR DR Mode Option 0 0 0 Input With pull-up, no interrupt (Reset state) 0 0 1 Input No pull-up, no interrupt 0 1 0 Input With pull-up, with interrupt 011 Input No pull-up, no interrupt (Port A pins) Input Analog input (Port B pins) 1 0 X Output Open-drain output (10mA sink current for Port A pins) 1 1 X Output Push-pull output (10mA sink current for Port A pins) |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes 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 |