Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
Classes | Enumerations | Functions | Variables
ersa::board Namespace Reference

Classes

struct  BatteryPins
 
class  Board
 
struct  BoardCapabilities
 
struct  BoardConfig
 
struct  ButtonPins
 
struct  DeviceInfo
 
struct  DisplayConfig
 
struct  DisplayPins
 
struct  I2cPins
 
struct  Pin
 
class  Pins
 
struct  SpiPins
 

Enumerations

enum class  PinFunction { Gpio , I2c , Spi , Adc }
 
enum class  PinPull { None , Up , Down }
 
enum class  PinActiveLevel { High , Low }
 
enum class  PinDirection { Input , Output , Peripheral }
 

Functions

const DeviceInfo & terraDeviceInfo ()
 

Variables

static Board * s_currentBoard = nullptr
 

Enumeration Type Documentation

◆ PinActiveLevel

enum class ersa::board::PinActiveLevel
strong

Logic level considered asserted by the peripheral or application.

Enumerator
High 
Low 

◆ PinDirection

enum class ersa::board::PinDirection
strong

Direction used when configuring the pad. Peripheral delegates direction to the bus block.

Enumerator
Input 
Output 
Peripheral 

◆ PinFunction

enum class ersa::board::PinFunction
strong

Electrical/peripheral function selected for a logical board pin.

Enumerator
Gpio 
I2c 
Spi 
Adc 

◆ PinPull

enum class ersa::board::PinPull
strong

Internal pull resistor state configured by platform pinctrl.

Enumerator
None 
Up 
Down 

Function Documentation

◆ terraDeviceInfo()

const DeviceInfo & ersa::board::terraDeviceInfo ( )

Variable Documentation

◆ s_currentBoard

Board* ersa::board::s_currentBoard = nullptr
static