EasyManua.ls Logo

Cmsemicon SC8F577 Series - Page 98

Default Icon
181 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.8
SC8F577x
98 / 181
www.mcu.com.cn
13. Constant Current Output
The chip has a built-in pin for output 50mA constant drain current.
13.1 The Related Register of constant current output
The control register of constant current output ECIGCON (9BH)
9BH
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
ECIGCON
ECIGEN
----
ECIGADJ[5:0]
R/W
R/W
----
R
R
R
R
R
R
Reset value
0
----
x
x
x
x
x
x
Bit7
ECIGEN:
Enable bit of constant current output;
1=
Constant current output is enabled, the current is output at RA0
0=
Constant current output is disabled.
Bit6
Not used.
Bit5~Bit0
ECIGADJ[5:0]:
Adjust bit with constant current output, And the system will automatically load
the test when power on.
13.2 The Operation flow of constant current output
1) Set the RA0/CC0 port as the input port, and turn off the pull-up and pull-down resistors;
2) ECIGEN=1, Enable the constant current output module;

Related product manuals