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)
Enable bit of constant current output;
Constant current output is enabled, the current is output at RA0;
Constant current output is disabled.
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;