| 数据搜索系统,热门电子元器件搜索 |
|
ST52T430 数据表(PDF) 36 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST52T430 数据表(HTML) 36 Page - STMicroelectronics |
|
36 / 88 page ![]() ST52T430/E430 36/88 Figure 6.2 Port B Functional Blocks 6.3 Output Mode The output configuration is selected by setting the corresponding configuration register bit to “0” (REG_CONF 4, 13 and 15) (see paragraph I/O Port Configuration Registers). Digital data is transferred to the related I/O Port by means of the Output register via the assembler instructions LDPE or LDPR. 6.4 Alternate Functions Several ST52x430 pins are configurable to be used with different functions (see Table 1.1). When an on-chip peripheral is configured to use a pin, the correct I/O mode of the related pin must be selected. For example: if pin 26 (PA5/T0CLK in the SO34) has to be used as an external PWM/Timer0 clock, the Reg_Conf 4(5) bit must be set to ‘1’. When the signal is an on-chip peripheral input the related I/O pin has to be configured in Input Mode. When a pin is used as an A/D Converter input the related I/O pin is automatically set in tristate. The analog multiplexer (controlled by the A/D configuration Register) switches the analog voltage present on the selected pin to the common analog rail, which is connected to the ADC input. It is recommended that the voltage level not be changed or that any port pins not be loaded while conversion is running. Furthermore, it is recommended that clocking pins not be located close to a selected analog pin. 6.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, Table 6.2 Input Register and I/O Ports PORT A PORT B PORT C IR 9 IR 10 IR 11 Table 6.3 Output Register and I/O Ports PORT A PORT B PORT C OR 0 OR 1 OR 2 TO A/D CONVERTER CMOS PORT B PIN FROM CONFIGURATION REGISTER TO INPUT REGISTER FROM OUTPUT REGISTERS FROM CONFIGURATION REGISTER |
|
链接网址 |
| 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 |