Academic Program

CLC Outputs

CLC Outputs

Output

All of the CLC sections reduce down to a single output that can drive an I/O pin, feed another CLC module or internal peripheral, or can also trigger a rising or falling edge interrupt. These various options are set up in the CLCxCON and CLCxPOL registers.

output.png

 

The bits in the CLCxCON register control the output settings.

LCxEN – CLC module enable bit (1 - CLC On, 0 - Off )
LCxOE – Output enable bit (1 – Enable, 0 – Disable)
LCxOUT - Internally monitor output via software (Read Only Bit)
LCxINTP – Rising edge interrupt enable (1-CLCxIF set on Rising Edge)
LCxINTN – Falling edge interrupt enable (1-CLCxIF set on Falling Edge)

clcconoutput.png