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

PSD4235G1-C-70UI 데이터 시트보기 (PDF) - STMicroelectronics

부품명
상세내역
제조사
PSD4235G1-C-70UI Datasheet PDF : 91 Pages
First Prev 51 52 53 54 55 56 57 58 59 60 Next Last
PSD935G2
The
PSD935G2
Functional
Blocks
(cont.)
PSD9XX Family
9.4.3.3 Drive Select Register
The Drive Select Register configures the pin driver as Open Drain or CMOS for some port
pins, and controls the slew rate for the other port pins. An external pull-up resistor should
be used for pins configured as Open Drain.
A pin can be configured as Open Drain if its corresponding bit in the Drive Select Register
is set to a ‘1’. The default pin drive is CMOS.
Aside: the slew rate is a measurement of the rise and fall times of an output. A higher
slew rate means a faster output response and may create more electrical noise. A pin
operates in a high slew rate when the corresponding bit in the Drive Register is set to ‘1’.
The default rate is slow slew.
Table 22 shows the Drive Register for Ports A, B, C, D, E and G. It summarizes which
pins can be configured as Open Drain outputs and which pins the slew rate can be set for.
Port F always has CMOS drive.
Table 22. Drive Register Pin Assignment
Drive
Register
Bit 7
Bit 6
Bit 5
Bit 4
Port A
Open
Drain
Open
Drain
Open
Drain
Open
Drain
Port B
Open
Drain
Open
Drain
Open
Drain
Open
Drain
Port C
Slew
Rate
Slew
Rate
Slew
Rate
Slew
Rate
Port D
Port E
Port G
Open
Drain
Open
Drain
Open
Drain
Open
Drain
Open
Drain
Open
Drain
Open
Drain
Open
Drain
Bit 3
Open
Drain
Open
Drain
Slew
Rate
Open
Drain
Open
Drain
Open
Drain
Bit 2
Open
Drain
Open
Drain
Slew
Rate
Open
Drain
Open
Drain
Open
Drain
Bit 1
Open
Drain
Open
Drain
Slew
Rate
Open
Drain
Open
Drain
Open
Drain
Bit 0
Open
Drain
Open
Drain
Slew
Rate
Open
Drain
Open
Drain
Open
Drain
9.4.4 Port Data Registers
The Port Data Registers, shown in Table 23, are used by the microcontroller to write data
to or read data from the ports. Table 23 shows the register name, the ports having each
register type, and microcontroller access for each register type. The registers are
described below.
9.4.4.1 Data In
Port pins are connected directly to the Data In buffer. In MCU I/O input mode, the pin input
is read through the Data In buffer.
9.4.4.2 Data Out Register
Stores output data written by the MCU in the MCU I/O output mode. The contents of the
Register are driven out to the pins if the Direction Register or the output enable
product term is set to “1”. The contents of the register can also be read back by the
microcontroller.
Table 23. Port Data Registers
Register Name
Data In
Port
A,B,C,D,E,F,G
Data Out
A,B,C,D,E,F,G
MCU Access
Read – input on pin
Write/Read
51

Share Link: 

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