|
| | spi_msp432 (EUSCI_A_SPI_Type *spi_a, gpio_interface &cs_pin, const bool spi_master=SPI::MASTER, uint16_t mode=SPI::CPOL_0|SPI::CPHA_0|SPI::MSB_FIRST|SPI::_8_BIT|SPI::CLK_SMCLK) |
| |
| | spi_msp432 (EUSCI_B_SPI_Type *spi_b, gpio_interface &cs_pin, const bool spi_master=SPI::MASTER, uint16_t mode=SPI::CPOL_0|SPI::CPHA_0|SPI::MSB_FIRST|SPI::_8_BIT|SPI::CLK_SMCLK) |
| |
| int16_t | spiTxRx (const uint8_t *txbuf, uint8_t *rxbuf, uint16_t len) override |
| |
| int16_t | spiTx (const uint8_t *txbuf, uint16_t len) override |
| |
| int16_t | spiRx (uint8_t txbyte, uint8_t *rxbuf, uint16_t len) override |
| |
| void | setSpeed (uint32_t) override |
| |
| void | generateCS (bool val) override |
| |
| void | setCS (bool val) override |
| |
| void | spiAttachRxIrq (function< void(uint8_t data)> f) override |
| |
Definition at line 53 of file spi_msp432.h.
◆ spi_msp432() [1/2]
| spi_msp432::spi_msp432 |
( |
EUSCI_A_SPI_Type * | spi_a, |
|
|
gpio_interface & | cs_pin, |
|
|
const bool | spi_master = SPI::MASTER, |
|
|
uint16_t | mode = SPI::CPOL_0 | SPI::CPHA_0 | SPI::MSB_FIRST | SPI::_8_BIT | SPI::CLK_SMCLK ) |
◆ spi_msp432() [2/2]
| spi_msp432::spi_msp432 |
( |
EUSCI_B_SPI_Type * | spi_b, |
|
|
gpio_interface & | cs_pin, |
|
|
const bool | spi_master = SPI::MASTER, |
|
|
uint16_t | mode = SPI::CPOL_0 | SPI::CPHA_0 | SPI::MSB_FIRST | SPI::_8_BIT | SPI::CLK_SMCLK ) |
◆ ~spi_msp432()
| spi_msp432::~spi_msp432 |
( |
| ) |
|
◆ generateCS()
| void spi_msp432::generateCS |
( |
bool | val | ) |
|
|
overridevirtual |
◆ setCS()
| void spi_msp432::setCS |
( |
bool | val | ) |
|
|
overridevirtual |
◆ setSpeed()
| void spi_msp432::setSpeed |
( |
uint32_t | baud | ) |
|
|
overridevirtual |
◆ spiAttachRxIrq()
| void spi_msp432::spiAttachRxIrq |
( |
function< void(uint8_t data)> | f | ) |
|
|
overridevirtual |
◆ spiRx()
| int16_t spi_msp432::spiRx |
( |
uint8_t | txbyte, |
|
|
uint8_t * | rxbuf, |
|
|
uint16_t | len ) |
|
overridevirtual |
◆ spiTx()
| int16_t spi_msp432::spiTx |
( |
const uint8_t * | txbuf, |
|
|
uint16_t | len ) |
|
overridevirtual |
◆ spiTxRx()
| int16_t spi_msp432::spiTxRx |
( |
const uint8_t * | txbuf, |
|
|
uint8_t * | rxbuf, |
|
|
uint16_t | len ) |
|
overridevirtual |
◆ EUSCIA0_SPI_IRQHandler
| void EUSCIA0_SPI_IRQHandler |
( |
void | | ) |
|
|
friend |
◆ EUSCIA1_SPI_IRQHandler
| void EUSCIA1_SPI_IRQHandler |
( |
void | | ) |
|
|
friend |
◆ EUSCIA2_SPI_IRQHandler
| void EUSCIA2_SPI_IRQHandler |
( |
void | | ) |
|
|
friend |
◆ EUSCIA3_SPI_IRQHandler
| void EUSCIA3_SPI_IRQHandler |
( |
void | | ) |
|
|
friend |
◆ EUSCIB0_SPI_IRQHandler
| void EUSCIB0_SPI_IRQHandler |
( |
void | | ) |
|
|
friend |
◆ EUSCIB1_SPI_IRQHandler
| void EUSCIB1_SPI_IRQHandler |
( |
void | | ) |
|
|
friend |
◆ EUSCIB2_SPI_IRQHandler
| void EUSCIB2_SPI_IRQHandler |
( |
void | | ) |
|
|
friend |
◆ EUSCIB3_SPI_IRQHandler
| void EUSCIB3_SPI_IRQHandler |
( |
void | | ) |
|
|
friend |
The documentation for this class was generated from the following files:
- /builds/Terstegge/yahal_with_examples/src/MCU/msp432p401r/spi_msp432.h
- /builds/Terstegge/yahal_with_examples/src/MCU/msp432p401r/spi_msp432.cpp