Sound Byte Libs 1ee2ca6
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Enumerations
sbl::core::hal::gpio Namespace Reference

Enumerations

enum class  PinMode {
  Input , Output , InputPullup , InputPulldown ,
  OpenDrain , Analog
}
 GPIO pin modes. More...
 
enum class  PinLevel { Low = 0 , High = 1 }
 Digital logic levels. More...
 

Enumeration Type Documentation

◆ PinLevel

enum class sbl::core::hal::gpio::PinLevel
strong

Digital logic levels.

Standard digital logic levels for GPIO operations.

Enumerator
Low 

Logic low (0V, GND)

High 

Logic high (Vdd, 3.3V typically)

Definition at line 38 of file types.hpp.

◆ PinMode

enum class sbl::core::hal::gpio::PinMode
strong

GPIO pin modes.

Standard pin configuration modes supported across ARM Cortex-M platforms. Platform implementations map these to hardware-specific configurations.

Enumerator
Input 

Digital input (high impedance)

Output 

Digital output (push-pull)

InputPullup 

Digital input with internal pull-up resistor.

InputPulldown 

Digital input with internal pull-down resistor.

OpenDrain 

Open-drain output (requires external pull-up)

Analog 

Analog input (for ADC)

Definition at line 24 of file types.hpp.