Module microbit::hal::pac::lpcomp [−]
Expand description
Low-power comparator
Modules
| anadetect | Analog detect configuration |
| enable | Enable LPCOMP |
| events_cross | Downward or upward crossing |
| events_down | Downward crossing |
| events_ready | LPCOMP is ready and output is valid |
| events_up | Upward crossing |
| extrefsel | External reference select |
| hyst | Comparator hysteresis enable |
| intenclr | Disable interrupt |
| intenset | Enable interrupt |
| psel | Input pin select |
| refsel | Reference select |
| result | Compare result |
| shorts | Shortcuts between local events and tasks |
| tasks_sample | Sample comparator value |
| tasks_start | Start comparator |
| tasks_stop | Stop comparator |
Structs
| RegisterBlock | Register block |
Type Definitions
| ANADETECT | Analog detect configuration |
| ENABLE | Enable LPCOMP |
| EVENTS_CROSS | Downward or upward crossing |
| EVENTS_DOWN | Downward crossing |
| EVENTS_READY | LPCOMP is ready and output is valid |
| EVENTS_UP | Upward crossing |
| EXTREFSEL | External reference select |
| HYST | Comparator hysteresis enable |
| INTENCLR | Disable interrupt |
| INTENSET | Enable interrupt |
| PSEL | Input pin select |
| REFSEL | Reference select |
| RESULT | Compare result |
| SHORTS | Shortcuts between local events and tasks |
| TASKS_SAMPLE | Sample comparator value |
| TASKS_START | Start comparator |
| TASKS_STOP | Stop comparator |