HardFOC Flux V1 HAL
Unified HAL API for the HardFOC Flux valve-control platform (ESP32-S3)
Loading...
Searching...
No Matches
Classes | Functions
anonymous_namespace{CommChannelsManager.cpp} Namespace Reference

Classes

struct  SpiSpeedDisplay
 

Functions

SpiSpeedDisplay FormatSpiSpeed (uint32_t hz) noexcept
 
BaseSpi * AddSpiDevice (flux::board::SpiBus bus, HfFunctionalGpioPin cs_pin, uint32_t hz, uint8_t mode, const char *label) noexcept
 Add one chip select to an initialised bus and log it. nullptr if the CS pin is unmapped.
 
bool CreateSpiBusFromPins (flux::board::SpiBus bus, HfFunctionalGpioPin miso, HfFunctionalGpioPin mosi, HfFunctionalGpioPin sck, uint8_t controller, bool use_iomux) noexcept
 Bring up one SPI controller from its pin-map pins.
 

Function Documentation

◆ AddSpiDevice()

BaseSpi * anonymous_namespace{CommChannelsManager.cpp}::AddSpiDevice ( flux::board::SpiBus  bus,
HfFunctionalGpioPin  cs_pin,
uint32_t  hz,
uint8_t  mode,
const char *  label 
)
noexcept

Add one chip select to an initialised bus and log it. nullptr if the CS pin is unmapped.

Here is the call graph for this function:

◆ CreateSpiBusFromPins()

bool anonymous_namespace{CommChannelsManager.cpp}::CreateSpiBusFromPins ( flux::board::SpiBus  bus,
HfFunctionalGpioPin  miso,
HfFunctionalGpioPin  mosi,
HfFunctionalGpioPin  sck,
uint8_t  controller,
bool  use_iomux 
)
noexcept

Bring up one SPI controller from its pin-map pins.

Here is the call graph for this function:

◆ FormatSpiSpeed()

SpiSpeedDisplay anonymous_namespace{CommChannelsManager.cpp}::FormatSpiSpeed ( uint32_t  hz)
noexcept
Here is the caller graph for this function: