Expand description

Low-power comparator

Modules

Analog detect configuration
Enable LPCOMP
Downward or upward crossing
Downward crossing
LPCOMP is ready and output is valid
Upward crossing
External reference select
Comparator hysteresis enable
Disable interrupt
Enable interrupt
Input pin select
Reference select
Compare result
Shortcuts between local events and tasks
Sample comparator value
Start comparator
Stop comparator

Structs

Register block

Type Definitions

ANADETECT (rw) register accessor: an alias for Reg<ANADETECT_SPEC>
ENABLE (rw) register accessor: an alias for Reg<ENABLE_SPEC>
EVENTS_CROSS (rw) register accessor: an alias for Reg<EVENTS_CROSS_SPEC>
EVENTS_DOWN (rw) register accessor: an alias for Reg<EVENTS_DOWN_SPEC>
EVENTS_READY (rw) register accessor: an alias for Reg<EVENTS_READY_SPEC>
EVENTS_UP (rw) register accessor: an alias for Reg<EVENTS_UP_SPEC>
EXTREFSEL (rw) register accessor: an alias for Reg<EXTREFSEL_SPEC>
HYST (rw) register accessor: an alias for Reg<HYST_SPEC>
INTENCLR (rw) register accessor: an alias for Reg<INTENCLR_SPEC>
INTENSET (rw) register accessor: an alias for Reg<INTENSET_SPEC>
PSEL (rw) register accessor: an alias for Reg<PSEL_SPEC>
REFSEL (rw) register accessor: an alias for Reg<REFSEL_SPEC>
RESULT (r) register accessor: an alias for Reg<RESULT_SPEC>
SHORTS (rw) register accessor: an alias for Reg<SHORTS_SPEC>
TASKS_SAMPLE (w) register accessor: an alias for Reg<TASKS_SAMPLE_SPEC>
TASKS_START (w) register accessor: an alias for Reg<TASKS_START_SPEC>
TASKS_STOP (w) register accessor: an alias for Reg<TASKS_STOP_SPEC>