LSH-Core
Deterministic firmware core for Controllino-based Labo Smart Home nodes
 
Loading...
Searching...
No Matches
lsh::core::avr::StaticPinDescriptor Struct Reference

Compile-time descriptor for one fully resolved AVR pin binding. More...

#include <avr_fast_io.hpp>

Collaboration diagram for lsh::core::avr::StaticPinDescriptor:
Collaboration graph

Public Attributes

uint8_t mask = 0U
 Final bit mask for the pin inside the port.
 
uint16_t inputAddress = 0U
 Raw MMIO address of the input register.
 
uint16_t outputAddress = 0U
 Raw MMIO address of the output register.
 
uint16_t modeAddress = 0U
 Raw MMIO address of the DDR register.
 

Detailed Description

Compile-time descriptor for one fully resolved AVR pin binding.

The addresses are stored as raw MMIO addresses so the descriptor remains a trivially constexpr object on AVR, then converted to typed pointers only at the last moment when a binding is materialized.


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