| 数据搜索系统,热门电子元器件搜索 |
|
ST92163 数据表(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92163 数据表(HTML) 18 Page - STMicroelectronics |
|
18 / 224 page ![]() 18/224 ST92163 - GENERAL DESCRIPTION How to configure the I/O ports To configure the I/O ports, use the information in Table 3 and Table 4 and the Port Bit Configuration Table in the I/O Ports Chapter on page 100. I/O Note = the hardware characteristics fixed for each port line. Inputs: – If I/O note = TTL/CMOS, either TTL or CMOS in- put level can be selected by software. – If I/O note = Schmitt trigger, selecting CMOS or TTL input by software has no effect, the input will always be Schmitt Trigger. Outputs: – If I/O note = Push-Pull, either Push Pull or Open Drain can be selected by software. – If I/O note = Open Drain, selecting Push-Pull by software has no effect, the input will always be Open Drain. Alternate Functions (AF) = More than one AF cannot be assigned to an external pin at the same time: it can be selected as follows, but simultane- ous availability of several functions of one pin is obviously impossible. AF Inputs: – AF is selected implicitly by enabling the corre- sponding peripheral. Exceptions to this are ADC inputs which are selected explicitly as AF by soft- ware. AF Outputs or Bidirectional Lines: – In the case of Outputs or I/Os, AF is selected explicitly by software. Example 1: Timer/Watchdog input AF: WDIN, Port: P5.5, I/O note: Input Schmitt Trig- ger. Write the port configuration bits: P5C2.5=1 P5C1.5=0 P5C0.5=1 Enable the WDT peripheral by software as de- scribed in the WDT chapter. Example 2: Timer/Watchdog output AF: WDOUT, Port: P5.7, I/O note: None Write the port configuration bits: P5C2.7=0 P5C1.7=1 P5C0.7=1 Example 3: ADC input AF: AIN0, Port: P6.2, I/O note: Does not apply to ADC Write the port configuration bits: P6C2.2=1 P6C1.2=1 P6C0.2=1 |
|
链接网址 |
| 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 |