InES Hardware Abstraction Layer
|
Initialization structure for the serial peripheral interface. More...
#include <hal_spi.h>
Data Fields | |
hal_spi_mode_t | mode |
hal_spi_dir_t | direction |
hal_spi_size_t | data_size |
hal_spi_nss_t | nss_mode |
hal_spi_prescaler_t | prescaler |
hal_spi_frame_t | frame_type |
hal_bool_t | hw_crc |
Initialization structure for the serial peripheral interface.
hal_spi_size_t hal_spi_init_t::data_size |
Size of packet.
hal_spi_dir_t hal_spi_init_t::direction |
Transmit direction.
hal_spi_frame_t hal_spi_init_t::frame_type |
Motorolla or TI.
hal_bool_t hal_spi_init_t::hw_crc |
ENABLE/DISABLE CRC calculation.
hal_spi_mode_t hal_spi_init_t::mode |
Master or slave mode.
hal_spi_nss_t hal_spi_init_t::nss_mode |
NSS set by sw or hw.
hal_spi_prescaler_t hal_spi_init_t::prescaler |
Baudrate prescaler.