| 数据搜索系统,热门电子元器件搜索 |
|
ST92F120JR9T 数据表(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92F120JR9T 数据表(HTML) 20 Page - STMicroelectronics |
|
20 / 320 page ![]() 20/320 ST92F120 - GENERAL DESCRIPTION How to Configure the I/O ports To configure the I/O ports, use the information in Table 3, Table 4 and the Port Bit Configuration Ta- ble in the I/O Ports Chapter (See page 125). Input Note = the hardware characteristics fixed for each port line in Table 3. – If Input note = TTL/CMOS, either TTL or CMOS input level can be selected by software. – If Input note = Schmitt trigger, selecting CMOS or TTL input by software has no effect, the input will always be Schmitt Trigger. Alternate Functions (AF) = More than one AF cannot be assigned to an I/O pin at the same time: An alternate function can be selected as follows. AF Inputs: – AF is selected implicitly by enabling the corre- sponding peripheral. Exception to this are A/D in- puts which must be explicitly selected as AF by software. AF Outputs or Bidirectional Lines: – In the case of Outputs or I/Os, AF is selected ex- plicitly by software. Example 1: SCI input AF: SIN0, Port: P5.2, Input note: Schmitt Trigger. Write the port configuration bits: P5C2.2=1 P5C1.2=0 P5C0.2 =1 Enable the SCI peripheral by software as de- scribed in the SCI chapter. Example 2: SCI output AF: SOUT0, Port: P5.3, Output note: Push-Pull/OD. Write the port configuration bits (for AF OUT PP): P5C2.3=0 P5C1.3=1 P5C0.3 =1 Example 3: External Memory I/O AF: A0/D0, Port : P0.0, Input Note: TTL/CMOS Write the port configuration bits: P0C2.0=1 P0C1.0=1 P0C0.0 =1 Example 4: Analog input AF: A0IN0, Port : 7.0, Input Note: does not apply to analog input Write the port configuration bits: P7C2.0=1 P7C1.0=1 P7C0.0 =1 9 |
|
链接网址 |
| 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 |