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

#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.
 
uintCPU_t infinite:1
 Infinite blinking (only if count received is 0 when starting Blink action)
 
uintCPU_t start:1
 Action start step.
 
uintCPU_t active:1
 Pulse/Blink active phase.
 
uintCPU_t init:1
 Set to 1 when GPIO_out instance properly initialized.
 
volatile uintCPU_t 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 
 

Field Documentation

◆ action

eGPIOState logic_out::action

Action to perform.

◆ active

uintCPU_t 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 uintCPU_t logic_out::idle

Action state (idle / running)

◆ infinite

uintCPU_t logic_out::infinite

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

◆ init

uintCPU_t 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

uintCPU_t 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: