[−][src]Module nrf52810_hal::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 |
mode | Mode configuration |
psel | Pin select |
refsel | Reference source select for single-ended mode |
result | Compare result |
shorts | Shortcuts between local events and tasks |
tasks_sample | Sample comparator value |
tasks_start | Start comparator |
tasks_stop | Stop comparator |
th | Threshold configuration for hysteresis unit |
Structs
RegisterBlock | Register block |
Type Definitions
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 |
MODE | Mode configuration |
PSEL | Pin select |
REFSEL | Reference source select for single-ended mode |
RESULT | Compare result |
SHORTS | Shortcuts between local events and tasks |
TASKS_SAMPLE | Sample comparator value |
TASKS_START | Start comparator |
TASKS_STOP | Stop comparator |
TH | Threshold configuration for hysteresis unit |