Si4010-C2
SFR Definition 30.6. PORT_CTRL
Bit
Name
7
PORT_
STROBE
6
PORT_
ROFF
Type R/W
R/W
Reset
0
—
SFR Address = 0xB5
5
PORT_
MATRIX
R/W
—
4
PORT_
DRV2X
R/W
0
3
PORT_5_
MID-
RANGE
R/W
1
2
PORT_
MID-
RANGE
R/W
1
1
0
PORT_LED[1:0]
R/W
R/W
0
0
Bit Name
Function
Port Strobe.
Strobe the port_matrix and port_roff bits values from this register to the GPIO pads.
7
PORT_ The operation requires additional 2 CPU clock to finish after writing 0->1->0 to this bit.
STROBE When 1 is written to this bit the GPIO latches open and the values of port_matrix and
port_off are propagated to GPIO pads. Software must clear this bit to capture those
two bits in the GPIO pads internal HV permanent latches.
Port Roff Mode.
6
PORT_
ROFF
Roff mode, read from this bit returns the actual Roff mode value as reported from
GPIO pad. When a 1 is latched into the GPIO pad internal Roff mode HV latch then
the GPIO Roff mode gets invoked. The GPIO[1:2] will have their pull-up resistors
turned off.
Port Matrix Mode.
Matrix mode, read from this bit returns the actual value matrix mode value as
5
PORT_ reported from GPIO pad. When a 1 is latched into the GPIO pad internal matrix mode
MATRIX HV latch then the GPIO matrix mode gets invoked. The GPIO[1:3] are driven low with
resistor pull-ups disabled. This is intended for matrix button mode to wake up from
sleep mode.
4
PORT_ Increase Drive Strength by 2x on All Outputs.
DRV2X
3
PORT_5_ Input GPIO[5] pin trip point set to 45% VDD.
MIDRANGE
2
PORT_ Input GPIO Pin Trip Point Set to 45% VDD (except GPIO[5])
MIDRANGE
LED Current Drive Strength.
It must be set to non-zero value for LED to have any current. This is just a current
source setting. The actual turning of the LED on and off is controlled by the GPIO[5]
1:0
PORT_LED output bit in P0.
[1:0] 00: LED off
01: LED current = 0.62*600uA
10: LED current = 1.00*600uA
11: LED current = 1.62*600uA
Rev. 1.0
121