![]() |
SatNOGS-COMMS
4.1.0
A COMMS subsystem for CubeSats
|
Same as the spi_bsp but with manual control of the CS line. More...
#include <bsp.hpp>
Public Member Functions | |
| spi_manual_cs_bsp (const struct device *dev, const struct spi_config &spi_cfg, const struct gpio_dt_spec *cs) | |
| lib::bsp::gpio & | cs () override |
| Returns a GPIO control handle for the CS of the SPI. If this is performed automatically by the hardware, users does not have to provide an implementation for this method, as it returns an object of dummy_gpio class, which has no effect. | |
| Public Member Functions inherited from satnogs::comms::spi_bsp | |
| spi_bsp (const struct device *dev, const struct spi_config &spi_cfg) | |
| void | read (uint8_t *rx, const uint8_t *tx, size_t tx_len, size_t rx_len) override |
| Performs an SPI read operation. | |
| void | write (const uint8_t *tx, size_t len) override |
| Performs an SPI write operation. | |
| Public Member Functions inherited from satnogs::comms::lib::bsp::spi | |
| spi () | |
| Construct a new SPI object. | |
| ~spi () | |
|
inline |
|
inlineoverridevirtual |
Returns a GPIO control handle for the CS of the SPI. If this is performed automatically by the hardware, users does not have to provide an implementation for this method, as it returns an object of dummy_gpio class, which has no effect.
Reimplemented from satnogs::comms::lib::bsp::spi.