stled325 STMicroelectronics, stled325 Datasheet - Page 46

no-image

stled325

Manufacturer Part Number
stled325
Description
I?c Interfaced, Advanced Led Controller/driver With Keyscan, Standby Power Management And Real Time Clock Rtc
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
stled325QTR
Manufacturer:
STM
Quantity:
3 000
Part Number:
stled325QTR
Manufacturer:
ST
0
Commands
7.2
Description:
46/62
Data setting command
This command sets the data-write and data-read modes.
Table 26.
Note 1: The following byte with MSB7 and MSB6 corresponds to GPIO[1:0] for data to be
written into GPIO1 and GPIO0 when they are configured as outputs.
Figure 16. Data write command (b7 b6) for GPIO
When b7 is 1, it drives logic 1 on GPIO1 output and when it is 0, it drives logic 0 on GPIO1
output.
When b6 is 1, it drives logic 1 on GPIO0 output and when it is 0, it drives logic 0 on GPIO0
output.
MSB
0
Bits b7-b6 = 01 is decoded as a data setting command. The subsequent bits are
decoded as follows:
b5 b4 = 00: data write command (see bits b1-b0)
b5 b4 = 01: data write 1 command (see bits b1-b0)
b5 b4 = 10: data read 1 command (see bits b1-b0)
b5 b4 = 11: data read 3 command (see bits b1-b0)
b3: clear the guard timer (no change in guard time)
b2: when set to a 1, the guard timer is forced to enable and starts the count again.
While in normal mode, the count starts
b1-b0
00
01
10
11
Data write command. b5 b4: 00
MSB7
GPIO1
MSB
1
MSB6
GPIO0
Write memory (display or RTC) – Address range: 0x00-0x0F. Start
address pointer location is 0x00.
Write memory (display). Address range: 0x10-0x13. Start ad-dress
pointer location is 0x10.
Write memory (discrete LED). Address: 0x14.
Write data into GPIOs if they are configured as outputs (see note 1)
b5
Doc ID 17576 Rev 1
RSVD
b4
RSVD
LSB
RSVD
b3
RSVD
b2
RSVD
b1
RSVD
STLED325
LSB
b0

Related parts for stled325