ST92141 STMicroelectronics, ST92141 Datasheet - Page 13

no-image

ST92141

Manufacturer Part Number
ST92141
Description
8/16-bit Mcu For 3-phase Ac Motor Control
Manufacturer
STMicroelectronics
Datasheet
An alternate function can be selected as follows.
AF Inputs:
– AF is selected implicitly by enabling the corre-
AF Outputs or Bidirectional Lines:
– In the case of Outputs or I/Os, AF is selected ex-
Example 1: Standard Timer input
AF: STIN, Port: P3.2, I/O Note: Schmitt trigger.
Write the port configuration bits:
P3C2.2=1
P3C1.2=0
P3C0.2=1
or P3C2.2=0
P3C1.2=0
P3C0.2=1
sponding peripheral. Exceptions to this are ADC
analog inputs which must be explicitly selected
as AF by software.
plicitly by software.
Enable the Standard Timer input by software as
described in the STIM chapter.
Example 2: Standard Timer output
AF: STOUT, Port: P3.3
Write the port configuration bits (for AF output
push-pull):
P3C2.3=0
P3C1.3=1
P3C0.3=1
Example 3: ADC analog input
AF: AIN2, Port: P5.2, I/O Note: does not apply to
analog inputs
Write the port configuration bits:
P5C2.2=1
P5C1.2=1
P5C0.2=1
ST92141 - GENERAL DESCRIPTION
13/179
9

Related parts for ST92141