English
Language : 

Z8F0830HH020SG Datasheet, PDF (69/257 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore!® F0830 Series
Product Specification
51
LED Drive Enable Register
The LED Drive Enable Register, shown in Table 31, activates the controlled current drive.
The Alternate Function Register has no control over the LED function; therefore, setting
the Alternate Function Register to select the LED function is not required. LEDEN bits
[7:0] correspond to Port C bits [7:0], respectively.
Table 31. LED Drive Enable (LEDEN)
Bit
7
6
5
4
3
2
1
0
Field
LEDEN[7:0]
RESET
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Address
F82H
Bit
[7:0]
LEDEN
Description
LED Drive Enable
These bits determine which Port C pins are connected to an internal current sink.
0 = Tristate the Port C pin.
1= Connect controlled current sink to the Port C pin.
LED Drive Level High Register
The LED Drive Level High Register, shown in Table 32, contains two control bits for each
Port C pin. These two bits select one of four programmable current drive levels for each
Port C pin. Each pin is individually programmable.
Table 32. LED Drive Level High Register (LEDLVLH)
Bit
7
6
5
4
3
2
1
0
Field
LEDLVLH[7:0]
RESET
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Address
F83H
Bit
Description
[7:0]
LED Level High Bits
LEDLVLH {LEDLVLH, LEDLVLL} select one of four programmable current drive levels for each Port C pin.
00 = 3 mA.
01= 7 mA.
10= 13 mA.
11= 20 mA.
PS025113-1212
GPIO Control Register Definitions