Rev. 1.60
94
August 20, 2019
Rev. 1.60
95
August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
I/O Port Source Current Control
These devices support different source current driving capability for each I/O port. With the
selection register, SLEDC or SLEDC1, specific I/O port can support four levels of the source current
driving capability. Users should refer to the D.C. characteristics section to select the desired source
current for different applications.
Register Name
Bit
7
6
5
4
3
2
1
0
SLEDC (BS66F340)
—
—
PCPS1 PCPS0 PBPS1 PBPS0 PAPS1 PAPS0
SLEDC (BS66F350/360/370) PCPS3 PCPS2 PCPS1 PCPS0 PBPS1 PBPS0 PAPS1 PAPS0
SLEDC1 (BS66F370)
—
—
—
—
PHPS1 PHPS0 PGPS1 PGPS0
I/O Port Source Current Control Registers List
• SLEDC Register – BS66F340
Bit
7
6
5
4
3
2
1
0
Name
—
—
PCPS1
PCPS0
PBPS1
PBPS0
PAPS1
PAPS0
R/W
—
—
R/W
R/W
R/W
R/W
R/W
R/W
POR
—
—
0
0
0
0
0
0
Bit 7~6
Unimplemented, read as "0"
Bit 5~4
PCPS1~PCPS0
: PC3~PC0 source current selection
00: source current = Level 0 (min.)
01: source current = Level 1
10: source current = Level 2
11: source current = Level 3 (max.)
Bit 3~2
PBPS1~PBPS0
: PB7~PB4 source current selection
00: source current = Level 0 (min.)
01: source current = Level 1
10: source current = Level 2
11: source current = Level 3 (max.)
Bit 1~0
PAPS1~PAPS0
: PA7~PA5 and PA1 source current selection
00: source current = Level 0 (min.)
01: source current = Level 1
10: source current = Level 2
11: source current = Level 3 (max.)
• SLEDC Register – BS66F350/BS66F360/BS66F370
Bit
7
6
5
4
3
2
1
0
Name
PCPS3
PCPS2
PCPS1
PCPS0
PBPS1
PBPS0
PAPS1
PAPS0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
0
0
0
0
0
0
0
0
Bit 7~6
PCPS3~PCPS2
: PC7~PC4 source current selection
00: source current = Level 0 (min.)
01: source current = Level 1
10: source current = Level 2
11: source current = Level 3 (max.)
Bit 5~4
PCPS1~PCPS0
: PC3~PC0 source current selection
00: source current = Level 0 (min.)
01: source current = Level 1
10: source current = Level 2
11: source current = Level 3 (max.)