HARMcksL: ARM HAL toolbox (yet STM32 oriented) 1.6
SMFSW collection of HAL hacks for STM32
|
Logic input structure. More...
#include <Logic_in.h>
Data Fields | ||
bool | in | |
Input value. | ||
eEdge | edge | |
Input edge. | ||
bool | mem | |
Memo value. | ||
uint32_t | hIn | |
Filter time. | ||
struct { | ||
void(* onSet )(const struct Logic_in *const) | ||
Push callback ON function pointer. More... | ||
void(* onReset )(const struct Logic_in *const) | ||
Push callback OFF function pointer. More... | ||
GPIO_PinState(* get )(const struct Logic_in *const) | ||
Getter function. More... | ||
void * LOGx | ||
uint16_t LOG_Pos | ||
Monitored bit position in variable. More... | ||
uint16_t filt | ||
Filter time (ms) More... | ||
GPIO_PinState polarity | ||
Input polarity. More... | ||
bool repeat | ||
Callback ON repeat. More... | ||
} | cfg | |
Logic input structure.
struct { ... } Logic_in::cfg |
eEdge Logic_in::edge |
Input edge.
uint16_t Logic_in::filt |
Filter time (ms)
GPIO_PinState(* Logic_in::get) (const struct Logic_in *const) |
Getter function.
uint32_t Logic_in::hIn |
Filter time.
bool Logic_in::in |
Input value.
uint16_t Logic_in::LOG_Pos |
Monitored bit position in variable.
void* Logic_in::LOGx |
bool Logic_in::mem |
Memo value.
void(* Logic_in::onReset) (const struct Logic_in *const) |
Push callback OFF function pointer.
void(* Logic_in::onSet) (const struct Logic_in *const) |
Push callback ON function pointer.
GPIO_PinState Logic_in::polarity |
Input polarity.
bool Logic_in::repeat |
Callback ON repeat.