|
HARMcksL: ARM HAL toolbox (yet STM32 oriented) 1.6
SMFSW collection of HAL hacks for STM32
|
#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 |
| 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.