| 数据搜索系统,热门电子元器件搜索 |
|
T410 数据表(PDF) 43 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
T410 数据表(HTML) 43 Page - STMicroelectronics |
|
43 / 84 page ![]() ST52T410/ST52T420/E420 43/84 7.5 I/O Port Configuration Registers The I/O mode for each bit of the three ports is selected by using the Configuration Registers 4, 13 and 15 (See Table 7.1) The structure of these registers is illustrated in the following tables. Each bit of the configuration registers determines the I/O mode of the related port pin. Table 7.4 Ports A REG_CONF 4 Bit Name Value Description 0D0 0 Set the pin PA0/T0RES in Output Mode 1 Set the pin PA0/T0RES in Input Mode 1D1 0 Set the pin PA1/T0OUT in Output Mode 1 Set the pin PA1/T0OUT in Input Mode 2D2 0 Set the pin PA2/T1OUT in Output Mode 1 Set the pin PA2/T1OUT in Input Mode 3D3 0 Set the pin PA3/T2OUT in Output Mode 1 Set the pin PA3/T2OUT in Input Mode 4D4 0 Set the pin PA4/T0STRT in Output Mode 1 Set the pin PA4/T0STRT in Input Mode 5D5 0 Set the pin PA5/T0CLK in Output Mode 1 Set the pin PA5/T0CLK in Input Mode 6D6 0 Set the pin PA6 in Output Mode 1 Set the pin PA6 in Input Mode 7D7 0 Set the pin PB7/PA7/ Ain7 in Output Mode 1 Set the pin PB7/PA7/ Ain7 in Input Mode Reset Configuration ‘11111111’ Table 7.5 Ports B REG_CONF 13 Bit Name Value Description 0D0 0 Set the pin PB0/Ain0 in Output Mode 1 Set the pin PB0/Ain0 in Input Mode 1D1 0 Set the pin PB1/Ain1 in Output Mode 1 Set the pin PB1/Ain1 in Input Mode 2D2 0 Set the pin PB2/Ain2 in Output Mode 1 Set the pin PB2/Ain2 in Input Mode 3D3 0 Set the pin PB3/Ain3 in Output Mode 1 Set the pin PB3/Ain3 in Input Mode 4D4 0 Set the pin PB4/Ain4 in Output Mode 1 Set the pin PB4/Ain4 in Input Mode 5D5 0 Set the pin PB5/Ain5 in Output Mode 1 Set the pin PB5/Ain5 in Input Mode 6D6 0 Set the pin PB6/Ain6 in Output Mode 1 Set the pin PB6/Ain6 in Input Mode 7D7 0 Set the pin PB7/PA7/ Ain7 in Output Mode 1 Set the pin PB7/PA7/ Ain7 in Input Mode Reset Configuration ‘11111111’ |
|
链接网址 |
| 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 |