| 数据搜索系统,热门电子元器件搜索 |
|
ST52T301 数据表(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST52T301 数据表(HTML) 37 Page - STMicroelectronics |
|
37 / 100 page ![]() 8.1 I/O PORT CONFIGURATION REG_CONF0 allows dynamic change in I/O Port configuration during program execution setting the communication direction of each bit. IOi setting equal to ”0” configures the i-th bit of the P(0:7) I/O Port in input. Data com- ing from external digital devices are stored in the 6-th location (INP_PORT)of the Input register bench. IOi=”1” sets the i-th bit of the port in output. Data stored in the i-th location of the Register File is written on the port by using the instruction: LDPR 2, regi Bit Name Value Description 0 IO0 0 Input Pin 1 Output Pin 1 IO1 0 Input Pin 1 Output Pin 2 IO2 0 Input Pin 1 Output Pin 3 IO3 0 Input Pin 1 Output Pin 4 IO4 0 Input Pin 1 Output Pin 5 IO5 0 Input Pin 1 Output Pin 6 IO6 0 Input Pin 1 Output Pin 7 IO7 0 Input Pin 1 Output Pin Table 8.1. Configuration Register 0 Setting D7 D6 D5 D4 D3 D2 D1 D0 REG_CONF0 I/O Port IO0 - I/O Communication Direction Bit IO1 - I/O Communication Direction Bit IO2 - I/O Communication Direction Bit IO3 - I/O Communication Direction Bit IO4 - I/O Communication Direction Bit IO5 - I/O Communication Direction Bit IO6 - I/O Communication Direction Bit IO7 - I/O Communication Direction Bit Figure 8.3. Configuration Register 0 37/99 ST52T301/E301 |
|
链接网址 |
| 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 |