HARMcksL: ARM HAL toolbox (yet STM32 oriented) 1.6
SMFSW collection of HAL hacks for STM32
Loading...
Searching...
No Matches
Logic_in Struct Reference

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 
 

Detailed Description

Logic input structure.

Field Documentation

◆ [struct]

struct { ... } Logic_in::cfg

◆ edge

eEdge Logic_in::edge

Input edge.

◆ filt

uint16_t Logic_in::filt

Filter time (ms)

◆ get

GPIO_PinState(* Logic_in::get) (const struct Logic_in *const)

Getter function.

◆ hIn

uint32_t Logic_in::hIn

Filter time.

◆ in

bool Logic_in::in

Input value.

◆ LOG_Pos

uint16_t Logic_in::LOG_Pos

Monitored bit position in variable.

◆ LOGx

void* Logic_in::LOGx

◆ mem

bool Logic_in::mem

Memo value.

◆ onReset

void(* Logic_in::onReset) (const struct Logic_in *const)

Push callback OFF function pointer.

◆ onSet

void(* Logic_in::onSet) (const struct Logic_in *const)

Push callback ON function pointer.

◆ polarity

GPIO_PinState Logic_in::polarity

Input polarity.

◆ repeat

bool Logic_in::repeat

Callback ON repeat.


The documentation for this struct was generated from the following file: