|
void | hal_spi_master_configure_default (hal_spi_master_config_t *config) |
| Configure SPI Master configuration structure with default values. More...
|
|
err_t | hal_spi_master_open (handle_t *handle, bool hal_obj_open_state) |
| Open the SPI Master HAL object on selected pins. More...
|
|
void | hal_spi_master_select_device (hal_pin_name_t chip_select) |
| Select SPI Slave device. More...
|
|
void | hal_spi_master_deselect_device (hal_pin_name_t chip_select) |
| Deselect SPI Slave device. More...
|
|
void | hal_spi_master_set_chip_select_polarity (hal_spi_master_chip_select_polarity_t polarity) |
| Set desired chip select polarity. More...
|
|
void | hal_spi_master_set_default_write_data (handle_t *handle, hal_spi_master_config_t *config) |
| Set SPI Master default ( dummy ) write data. More...
|
|
err_t | hal_spi_master_set_speed (handle_t *handle, hal_spi_master_config_t *config) |
| Set desired SPI communication speed. More...
|
|
err_t | hal_spi_master_set_mode (handle_t *handle, hal_spi_master_config_t *config) |
| Set desired SPI communication mode. More...
|
|
err_t | hal_spi_master_write (handle_t handle, uint8_t *__generic_ptr write_data_buffer, size_t write_data_length) |
| Write byte to SPI bus. More...
|
|
err_t | hal_spi_master_read (handle_t handle, uint8_t *read_data_buffer, size_t read_data_length) |
| Read byte from SPI bus. More...
|
|
err_t | hal_spi_master_write_then_read (handle_t handle, uint8_t *write_data_buffer, size_t length_write_data, uint8_t *read_data_buffer, size_t length_read_data) |
| Perform a sequence of SPI Master writes immediately followed by a SPI Master read. More...
|
|
err_t | hal_spi_master_close (handle_t *handle) |
| Close SPI Master HAL context object. More...
|
|