![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 49](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609049.webp)
BAT32G1x9 user manual | Chapter 2 Pin function
49 / 1149
Rev.1.02
Pmn
PMm's
PTomn
Multiplexing
function
(SThere/CAN)
Multiplexing
function
(other than
SCI/CAN).
WR
PORT
EV
DD
/V
DD
P-ch
WR
PM
N-
ch
WR
POM
EV
SS
/V
SS
Not
e 1
Input
channel
Not
e 2
Not
e 3
2.5 Register settings when using the multiplexing function
2.5.1
Basic principle when using the multiplexing feature
First, pins that are multiplexed with analog functions must be set via the Port Mode Control Register (PMCxx)
whether they will be used as analog functions or as digital inputs/outputs.
The basic structure of the pin output circuit used as a digital input/output is shown in Figure 2-10. The outputs of
the SCI and CAN functions with the output latch output multiplexing of the port are input to the AND gate, and the output
of the AND gate is input to the OR gate, OR The other inputs of the gate are connected to multiplexed outputs of non-
SCI/CAN functions (timer, RTC, clock/buzzer output, IICA, etc.). When such pins are used as port functions or
multiplexing functions, the unused multiplexing functions cannot affect the output of the functions to be used. The
basic idea of the setting at this time is shown in Table2-3 basic .
Figure2-16 The basic structure of the output circuit of the pin
GPIO/Combined
function
Note 1
When there is no
POM
register, this signal is
Low
level
(0).
2. When there is no multiplexing function, this signal is high level (1).
3. When there is no multiplexing function, this signal is Low level (0).
Table2-3 basic principle of the configuration
Use the pinout function
Output settings for the reuse function that are not used
Port capabilities
The output function of
SCI/CAN
Output functions other than
SCI/CAN
Port output function
—
High level output (1).
Low level output (0).
The output function of SCI/CAN
High (1)
—
Low level output (0).
Output functions other than
SCI/CAN
Low (0)
High level output (1).
Low level output (0) Note
Note : Because
it is possible for one pin to multiple
output functions other than
SCI/CAN, the output of the unused
multiplexing function needs to be set to
Low
(0). For
specific setting methods, please refer to
"2.
Example of
register settings for the port function and the multiplexing function
used".
B
US