[][src]Module nrf52832_pac::comp

Comparator

Modules

enable

COMP enable

events_cross

Downward or upward crossing

events_down

Downward crossing

events_ready

COMP is ready and output is valid

events_up

Upward crossing

extrefsel

External reference select

hyst

Comparator hysteresis enable

inten

Enable or disable interrupt

intenclr

Disable interrupt

intenset

Enable interrupt

isource

Current source select on analog input

mode

Mode configuration

psel

Pin select

refsel

Reference source select for single-ended mode

result

Compare result

shorts

Shortcut register

tasks_sample

Sample comparator value

tasks_start

Start comparator

tasks_stop

Stop comparator

th

Threshold configuration for hysteresis unit

Structs

ENABLE

COMP enable

EVENTS_CROSS

Downward or upward crossing

EVENTS_DOWN

Downward crossing

EVENTS_READY

COMP is ready and output is valid

EVENTS_UP

Upward crossing

EXTREFSEL

External reference select

HYST

Comparator hysteresis enable

INTEN

Enable or disable interrupt

INTENCLR

Disable interrupt

INTENSET

Enable interrupt

ISOURCE

Current source select on analog input

MODE

Mode configuration

PSEL

Pin select

REFSEL

Reference source select for single-ended mode

RESULT

Compare result

RegisterBlock

Register block

SHORTS

Shortcut register

TASKS_SAMPLE

Sample comparator value

TASKS_START

Start comparator

TASKS_STOP

Stop comparator

TH

Threshold configuration for hysteresis unit