#include <cstdint>
#include "ble/cs_Nordic.h"
Go to the source code of this file.
|
class | COMP |
| Class that enables you to get events when a the voltage on an AIN pin goes over or below a given threshold. More...
|
|
◆ comp_event_cb_t
Define comp_event_cb_t to be a void function with a CompEvent_t parameter as single argument.
This function can be used as callback after an event occurred.
◆ CompEvent_t
Compare events, also used for configuration.
Enumerator |
---|
COMP_EVENT_UP | |
COMP_EVENT_DOWN | |
COMP_EVENT_CROSS | |
COMP_EVENT_BOTH | |