| Zakładka z wyszukiwarką danych komponentów |
|
ST7L05 Arkusz danych(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7L05 Arkusz danych(HTML) 37 Page - STMicroelectronics |
|
37 / 104 page ![]() ST7L05, ST7L09 37/104 register – select rising edge reset the interrupt mask with the RIM instruction (in cases where a pin level change could occur) 10.2.2 Output Modes The output configuration is selected by setting the corresponding DDR register bit. In this case, writ- ing the DR register applies this digital value to the I/O pin through the latch. Then reading the DR reg- ister returns the previously stored value. Two different output modes can be selected by software through the OR register: Output push-pull and open-drain. DR register value and output pin status: Note: When switching from input to output mode, the DR register must be written first to drive the correct level on the pin as soon as the port is con- figured as an output. 10.2.3 Alternate Functions When an on-chip peripheral is configured to use a pin, the alternate function is automatically select- ed. This alternate function takes priority over the standard I/O programming under the following conditions: – When the signal is coming from an on-chip pe- ripheral, the I/O pin is automatically configured in output mode (push-pull or open drain according to the peripheral). – When the signal is going to an on-chip peripher- al, the I/O pin must be configured in floating input mode. In this case, the pin state is also digitally readable by addressing the DR register. Notes: – Input pull-up configuration can cause unexpect- ed value at the input of the alternate peripheral input. – When an on-chip peripheral uses a pin as input and output, this pin must be configured in input floating mode. DR Push-pull Open-drain 0VSS Vss 1VDD Floating 1 |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |