|
| enum | hal_spi_master_status_t {
HAL_SPI_MASTER_STATUS_ERROR = -4,
HAL_SPI_MASTER_STATUS_ERROR_BUSY = -3,
HAL_SPI_MASTER_STATUS_ERROR_PORT = -2,
HAL_SPI_MASTER_STATUS_INVALID_PARAMETER = -1,
HAL_SPI_MASTER_STATUS_OK = 0
} |
| | SPI master status. More...
|
| |
| enum | hal_spi_master_running_status_t {
HAL_SPI_MASTER_BUSY = 0,
HAL_SPI_MASTER_IDLE = 1
} |
| | SPI master running status. More...
|
| |
| enum | hal_spi_master_port_t {
HAL_SPI_MASTER_0 = 0,
HAL_SPI_MASTER_MAX
} |
| | This enum defines the SPI master port. More...
|
| |
| enum | hal_spi_master_slave_port_t {
HAL_SPI_MASTER_SLAVE_0 = 0,
HAL_SPI_MASTER_SLAVE_1 = 1,
HAL_SPI_MASTER_SLAVE_MAX
} |
| | selection of spi slave device connected to which cs pin of spi master More...
|
| |
| enum | hal_spi_master_clock_polarity_t {
HAL_SPI_MASTER_CLOCK_POLARITY0 = 0,
HAL_SPI_MASTER_CLOCK_POLARITY1 = 1
} |
| | SPI master clock polarity definition. More...
|
| |
| enum | hal_spi_master_clock_phase_t {
HAL_SPI_MASTER_CLOCK_PHASE0 = 0,
HAL_SPI_MASTER_CLOCK_PHASE1 = 1
} |
| | SPI master clock format definition. More...
|
| |
| enum | hal_spi_master_bit_order_t {
HAL_SPI_MASTER_LSB_FIRST = 0,
HAL_SPI_MASTER_MSB_FIRST = 1
} |
| | SPI master transaction bit order definition. More...
|
| |