| 数据搜索系统,热门电子元器件搜索 |
|
ST72F321 数据表(PDF) 49 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72F321 数据表(HTML) 49 Page - STMicroelectronics |
|
49 / 189 page ![]() ST72321 49/189 I/O PORTS (Cont’d) CAUTION: The alternate function must not be ac- tivated as long as the pin is configured as input with interrupt, in order to avoid generating spurious interrupts. Analog alternate function When the pin is used as an ADC input, the I/O must be configured as floating input. The analog multiplexer (controlled by the ADC registers) switches the analog voltage present on the select- ed pin to the common analog rail which is connect- ed to the ADC input. It is recommended not to change the voltage level or loading on any port pin while conversion is in progress. Furthermore it is recommended not to have clocking pins located close to a selected an- alog pin. WARNING: The analog input voltage level must be within the limits stated in the absolute maxi- mum ratings. 9.3 I/O PORT IMPLEMENTATION The hardware implementation on each I/O port de- pends on the settings in the DDR and OR registers and specific feature of the I/O port such as ADC In- put or true open drain. Switching these I/O ports from one state to anoth- er should be done in a sequence that prevents un- wanted side effects. Recommended safe transi- tions are illustrated in Figure 32 Other transitions are potentially risky and should be avoided, since they are likely to present unwanted side-effects such as spurious interrupt generation. Figure 32. Interrupt I/O Port State Transitions 9.4 LOW POWER MODES 9.5 INTERRUPTS The external interrupt event generates an interrupt if the corresponding configuration is selected with DDR and OR registers and the interrupt mask in the CC register is not active (RIM instruction). Mode Description WAIT No effect on I/O ports. External interrupts cause the device to exit from WAIT mode. HALT No effect on I/O ports. External interrupts cause the device to exit from HALT mode. Interrupt Event Event Flag Enable Control Bit Exit from Wait Exit from Halt External interrupt on selected external event - DDRx ORx Yes Yes 01 floating/pull-up interrupt INPUT 00 floating (reset state) INPUT 10 open-drain OUTPUT 11 push-pull OUTPUT XX = DDR, OR |
|
链接网址 |
| 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 |