Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
Public Attributes | List of all members
ersa::board::Pin Struct Reference

#include <pins.h>

Public Attributes

int number {-1}
 
PinFunction function {PinFunction::Gpio}
 
PinPull pull {PinPull::None}
 
PinActiveLevel activeLevel {PinActiveLevel::High}
 
PinDirection direction {PinDirection::Peripheral}
 

Detailed Description

Complete logical and electrical setup for one MCU pad.

Member Data Documentation

◆ activeLevel

PinActiveLevel ersa::board::Pin::activeLevel {PinActiveLevel::High}

Asserted logic level; records active-low buttons and controls explicitly.

◆ direction

PinDirection ersa::board::Pin::direction {PinDirection::Peripheral}

Input/output ownership requested from the platform pin controller.

◆ function

PinFunction ersa::board::Pin::function {PinFunction::Gpio}

Peripheral mux function requested for this pad.

◆ number

int ersa::board::Pin::number {-1}

MCU GPIO number; -1 means the board does not populate this signal.

◆ pull

PinPull ersa::board::Pin::pull {PinPull::None}

Pull resistor setting used to establish a defined idle state.


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