Struct ns_timer_config
ns-timer configuration struct
#include <ns_timer.h>
Public Attributes
Type | Name |
---|---|
const ns_core_api_t * | api API prefix. |
ns_timer_callback_cb | callback Invoked when timer ticks. |
bool | enableInterrupt Will generate interrupts, needs callback. |
uint32_t | periodInMicroseconds For interrupts. |
ns_timers_e | timer NS_TIMER_COUNTER, NS_TIMER_INTERRUPT, or NS_TIMER_USB. |
Public Attributes Documentation
variable api
const ns_core_api_t* ns_timer_config::api;
variable callback
ns_timer_callback_cb ns_timer_config::callback;
variable enableInterrupt
bool ns_timer_config::enableInterrupt;
variable periodInMicroseconds
uint32_t ns_timer_config::periodInMicroseconds;
variable timer
ns_timers_e ns_timer_config::timer;
The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-utils/includes-api/ns_timer.h