Module nrf51822::lpcomp [] [src]

Low power comparator.

Modules

anadetect

Analog detect configuration.

enable

Enable the LPCOMP.

events_cross

Input voltage crossed the threshold in any direction.

events_down

Input voltage crossed the threshold going down.

events_ready

LPCOMP is ready and output is valid.

events_up

Input voltage crossed the threshold going up.

extrefsel

External reference select.

intenclr

Interrupt enable clear register.

intenset

Interrupt enable set register.

power

Peripheral power control.

psel

Input pin select.

refsel

Reference select.

result

Result of last compare.

shorts

Shortcuts for the LPCOMP.

tasks_sample

Sample comparator value.

tasks_start

Start the comparator.

tasks_stop

Stop the comparator.

Structs

ANADETECT

Analog detect configuration.

ENABLE

Enable the LPCOMP.

EVENTS_CROSS

Input voltage crossed the threshold in any direction.

EVENTS_DOWN

Input voltage crossed the threshold going down.

EVENTS_READY

LPCOMP is ready and output is valid.

EVENTS_UP

Input voltage crossed the threshold going up.

EXTREFSEL

External reference select.

INTENCLR

Interrupt enable clear register.

INTENSET

Interrupt enable set register.

POWER

Peripheral power control.

PSEL

Input pin select.

REFSEL

Reference select.

RESULT

Result of last compare.

RegisterBlock

Register block

SHORTS

Shortcuts for the LPCOMP.

TASKS_SAMPLE

Sample comparator value.

TASKS_START

Start the comparator.

TASKS_STOP

Stop the comparator.