ST92T163 ST Microelectronics, ST92T163 Datasheet - Page 18
ST92T163
Manufacturer Part Number
ST92T163
Description
8/16-BIT FULL SPEED USB MCU FOR COMPOSITE DEVICES WITH 16 ENDPOINTS
Manufacturer
ST Microelectronics
Datasheet
1.ST92T163.pdf
(224 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST92T163L
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST92T163R4L
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
ST92T163R4T1L
Manufacturer:
ST
Quantity:
444
Part Number:
ST92T163R4T1L
Manufacturer:
ST
Quantity:
20 000
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-
– If I/O note = Schmitt trigger, selecting CMOS or
Outputs:
– If I/O note = Push-Pull, either Push Pull or Open
– If I/O note = Open Drain, selecting Push-Pull by
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-
18/224
put level can be selected by software.
TTL input by software has no effect, the input will
always be Schmitt Trigger.
Drain can be selected by software.
software has no effect, the input will always be
Open Drain.
sponding peripheral. Exceptions to this are ADC
AF Outputs or Bidirectional Lines:
– In the case of Outputs or I/Os, AF is selected
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
inputs which are selected explicitly as AF by soft-
ware.
explicitly by software.