Module nrf52840_pac::comp
source · Expand description
Comparator
Modules§
- COMP enable
- Downward or upward crossing
- Downward crossing
- COMP is ready and output is valid
- Upward crossing
- External reference select
- Comparator hysteresis enable
- Enable or disable interrupt
- Disable interrupt
- Enable interrupt
- Mode configuration
- Pin select
- Reference source select for single-ended mode
- Compare result
- Shortcut register
- Sample comparator value
- Start comparator
- Stop comparator
- Threshold configuration for hysteresis unit
Structs§
- Register block
Type Aliases§
- 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>
- INTEN (rw) register accessor: an alias for
Reg<INTEN_SPEC>
- INTENCLR (rw) register accessor: an alias for
Reg<INTENCLR_SPEC>
- INTENSET (rw) register accessor: an alias for
Reg<INTENSET_SPEC>
- MODE (rw) register accessor: an alias for
Reg<MODE_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>
- TH (rw) register accessor: an alias for
Reg<TH_SPEC>