Struct lpc845_pac::acomp::ctrl::R [−][src]
pub struct R(_);
Expand description
Register CTRL
reader
Implementations
Bits 3:4 - This field controls which edges on the comparator output set the COMPEDGE bit (bit 23 below):
Bits 8:10 - Selects positive voltage input
Bits 11:13 - Selects negative voltage input
Bit 20 - Interrupt clear bit. To clear the COMPEDGE bit and thus negate the interrupt request, toggle the EDGECLR bit by first writing a 1 and then a 0.
Bit 21 - Comparator status. This bit reflects the state of the comparator output.
Bit 23 - Comparator edge-detect status.