DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ZPSD211RL View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
ZPSD211RL Datasheet PDF : 51 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
PSD211R Family
10.0
I/O Port
Functions
(Cont.)
10.3 Port B (PB0-PB7)
MCU I/O Mode
The default configuration of Port B is MCU I/O. In this mode, every pin can be set
(at run-time) as an input or output by writing to the respective pin’s direction flip-flop (DIR
FF, Figure 6). As an output, the pin level can be controlled by writing to the respective pin’s
data flip-flop (DFF, Figure 6). The Pin Register can be read to determine logic level of the
pin. The contents of the Pin Register indicate the true state of the PSD driving the pin
through the DFF or an external source driving the pin.
Chip Select Output
Alternatively, each bit of Port B can be configured to provide a chip-select output signal
from PAD B. PB0-PB7 can provide CS0-CS7, respectively. The functionality of these pins
is not limited to chip selects only; they can be used for generic combinatorial logic as well.
Each of the CS0-CS3 signals is comprised of four product terms, and each of the CS4-CS7
signals is comprised of two product terms.
The control registers of Port B are located in CSIOPORT space; see Table 5. Each pin of
Port B can be individually configured. The following table summarizes what the control
registers (in CSIOPORT space) for Port B do:
Register Name
0 Value
Port B Pin Register
Port B Direction Register
Port B Data Register
Sampled logic level
at pin = ‘0’
Pin is configured
as input
Data in DFF = ‘0’
NOTE: 1. Default value is the value after reset.
1 Value
Sampled logic level
at pin = ‘1’
Pin is configured
as output
Data in DFF = ‘1’
Default
Value
(Note 1)
X
0
0
Figure 6. Port B Pin Structure
I
I
N
N
T
T
READ DATA
E
E
R
R
N
N
A
A WRITE DATA
L
L
CK
C
D
S
A
O
T
U
A
T
DFF
DR
B
B
U
U
S
S
D
C
8
S
0
D
1
7
5
READ DIR
WRITE DIR
D
DIR
CK FF
R
RESET
READ PIN
MCU
I/O
OUT
MUX
CSn
CONTROL
PORT B PIN
ENABLE
14

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]