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

Typedefs

using GpioPortId = uint32_t
 ARM-native GPIO port identifier.
 
using GpioPinNum = uint32_t
 ARM-native GPIO pin number within port.
 
using FrequencyHz = uint32_t
 ARM-native frequency representation.
 
using IntervalMs = uint32_t
 ARM-native timing interval representation.
 
using BufferIndex = uint32_t
 ARM-native buffer index type.
 
using BufferSize = uint32_t
 ARM-native buffer size type.
 

Typedef Documentation

◆ BufferIndex

ARM-native buffer index type.

Native 32-bit type for buffer indexing operations. Eliminates UXTH instructions in ring buffer ISR code.

Definition at line 58 of file types.hpp.

◆ BufferSize

ARM-native buffer size type.

Native 32-bit type for buffer sizing. Must be power-of-2 for efficient modulo operations.

Definition at line 66 of file types.hpp.

◆ FrequencyHz

using sbl::common::types::FrequencyHz = typedef uint32_t

ARM-native frequency representation.

Native 32-bit type for frequency values in Hz. Range: 0 to 4,294,967,295 Hz (sufficient for embedded audio).

Definition at line 42 of file types.hpp.

◆ GpioPinNum

using sbl::common::types::GpioPinNum = typedef uint32_t

ARM-native GPIO pin number within port.

Uses 32-bit native word size for optimal ARM arithmetic. Range: 0-31 for pins within a port.

Definition at line 34 of file types.hpp.

◆ GpioPortId

using sbl::common::types::GpioPortId = typedef uint32_t

ARM-native GPIO port identifier.

Uses 32-bit native word size to eliminate UXTB instructions on ARM Cortex-M processors. Range: 0-15 for up to 16 ports.

Definition at line 26 of file types.hpp.

◆ IntervalMs

using sbl::common::types::IntervalMs = typedef uint32_t

ARM-native timing interval representation.

Native 32-bit type for timing intervals in milliseconds. Range: 0 to ~49.7 days in milliseconds.

Definition at line 50 of file types.hpp.