| 数据搜索系统,热门电子元器件搜索 |
|
AN975 数据表(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN975 数据表(HTML) 6 Page - STMicroelectronics |
|
6 / 11 page ![]() 6/11 UPGRADING FROM ST625X/6XB TO ST625X/6XC set bit, datacopy ld A, datacopy ld DRA, A 1.2.2.2 Safe I/O State Switching Sequence Switching the I/O ports from one state to another should be done in a sequence which ensures that no unwanted side-effects can occur. The recommended safe transitions are illustrated in Figure 4. All other transitions are potentially risky and should be avoided when changing the I/O operating mode. Figure 4. Diagram showing Safe I/O State Transitions 1.2.2.3 Handling Unused Port Bits On ports that have less than 8 external pins connected: – Leave the bits related to the unbonded pins in reset state and do not change their configu- ration. – Do not use instructions that act on a whole port register (INC, DEC, or read operations). Un- available bits must be masked by software (AND instruction). Thus, when a read operation performed on an incomplete port is followed by a comparison, use a mask. 1.2.3 8-bit Timer On C revision devices, in order to use the 8-bit timer in gated mode, the PC1/TIM1 pin has to be configured in input mode either with or without pull-up through the Port C DDR, OR and DR registers. On B revision devices, it was possible to define PC1/TIM1 pin as output in this mode. But on C revision devices, if this pin is configured as output, the Schmitt trigger input is disabled and the timer will therefore not work properly. Interrupt pull-up Output Open Drain Output Push-pull Input pull-up (Reset state) Input Analog Output Open Drain Output Push-pull Input 010* 000 100 110 011 001 101 111 |
|
|
链接网址 |
| 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 |