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

Logic output structure. More...

#include <Logic_out.h>

Data Fields

volatile GPIO_PinState currentState
 Current Logic output state (Reset/Set)
 
GPIO_PinState memState
 Memorized Logic output state (Reset/Set), used after Pulse or Blink stop.
 
eLogic_out_mode mode
 Current Logic output mode.
 
uint32_t cnt
 Blinking counter.
 
uint32_t delay
 Delay before action.
 
uint32_t timeActive
 Active time (used for Pulse)
 
uint32_t timeInactive
 Inactive time (used for Pulse and Blink)
 
uint32_t hOut
 Start time of the current phase.
 
eGPIOState action
 Action to perform.
 
bool infinite:1
 Infinite blinking (only if count received is 0 when starting Blink action)
 
bool start:1
 Action start step.
 
bool active:1
 Pulse/Blink active phase.
 
bool init:1
 Set to 1 when GPIO_out instance properly initialized.
 
volatile bool idle:1
 Action state (idle / running)
 
struct { 
 
   void(*   set )(const struct Logic_out
      *const, const GPIO_PinState) 
 Setter function. More...
 
   void *   LOGx 
 Logic output address. More...
 
   uint16_t   LOG_Pos 
 Logic output bit position. More...
 
   GPIO_PinState   polarity 
 Logic output polarity. More...
 
cfg 
 

Detailed Description

Logic output structure.

Field Documentation

◆ action

eGPIOState Logic_out::action

Action to perform.

◆ active

bool Logic_out::active

Pulse/Blink active phase.

◆ [struct]

struct { ... } Logic_out::cfg

◆ cnt

uint32_t Logic_out::cnt

Blinking counter.

◆ currentState

volatile GPIO_PinState Logic_out::currentState

Current Logic output state (Reset/Set)

◆ delay

uint32_t Logic_out::delay

Delay before action.

◆ hOut

uint32_t Logic_out::hOut

Start time of the current phase.

◆ idle

volatile bool Logic_out::idle

Action state (idle / running)

◆ infinite

bool Logic_out::infinite

Infinite blinking (only if count received is 0 when starting Blink action)

◆ init

bool Logic_out::init

Set to 1 when GPIO_out instance properly initialized.

◆ LOG_Pos

uint16_t Logic_out::LOG_Pos

Logic output bit position.

◆ LOGx

void* Logic_out::LOGx

Logic output address.

◆ memState

GPIO_PinState Logic_out::memState

Memorized Logic output state (Reset/Set), used after Pulse or Blink stop.

◆ mode

eLogic_out_mode Logic_out::mode

Current Logic output mode.

◆ polarity

GPIO_PinState Logic_out::polarity

Logic output polarity.

◆ set

void(* Logic_out::set) (const struct Logic_out *const, const GPIO_PinState)

Setter function.

◆ start

bool Logic_out::start

Action start step.

◆ timeActive

uint32_t Logic_out::timeActive

Active time (used for Pulse)

◆ timeInactive

uint32_t Logic_out::timeInactive

Inactive time (used for Pulse and Blink)


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