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

PSD303R Ver la hoja de datos (PDF) - STMicroelectronics

Número de pieza
componentes Descripción
Fabricante
PSD303R Datasheet PDF : 85 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
PSD3XX Family
10.
I/O Port
Functions
(cont.)
10.3 Port B (PB0-PB7)
The control registers of Port B are located in CSIOPORT space; see Table 5A and 5B.
10.3.1 Port B (PB0-PB7) in Multiplexed Address/Data Mode
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
1 Value
Default
Value
(Note 1)
Port B Pin Register
Sampled logic level
at pin = ‘0’
Sampled logic level
at pin = ‘1’
X
Port B Direction Register
Pin is configured
as input
Pin is configured
as output
0
) Port B Data Register
Data in DFF = ‘0’
Data in DFF = ‘1’
0
t(s NOTE: 1. Default value is the value after reset.
uc MCU I/O Mode
rod The default configuration of Port B is MCU I/O. In this mode, every pin can be set
P t(s) (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
te c data flip-flop (DFF, Figure 6). The Pin Register can be read to determine logic level of the
le u pin. The contents of the Pin Register indicate the true state of the PSD driving the pin
so rod through the DFF or an external source driving the pin. Pins can be configured as CMOS
or open-drain using ST’s PSDsoft software. Open-drain pins require external pull-up
b P resistors.
) - O lete Chip Select Output
Alternatively, each bit of Port B can be configured to provide a chip-select output signal
t(s so from PAD B. PB0-PB7 can provide CS0-CS7, respectively. The functionality of these pins is
c b not limited to chip selects only; they can be used for generic combinatorial logic as well.
u O Each of the CS0-CS3 signals is comprised of four product terms, and each of the CS4-CS7
OObbssoolleettee PPrroodduct(s) - signals is comprised of two product terms.
18

Share Link: 

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