Plant Monitor SAM3X8E
Loading...
Searching...
No Matches
spi_cfg_t Struct Reference

SPI peripheral configuration parameters. More...

#include <spi.h>

Public Attributes

spi_role_t role
spi_mode_t mode
spi_select_mode_t select_mode
uint8_t chip_select
spi_bits_t bits
uint8_t mck_divisor

Detailed Description

SPI peripheral configuration parameters.

Single data structure encapsulating the configuration for a single SPI peripheral.

Definition at line 84 of file spi.h.

Member Data Documentation

◆ bits

spi_bits_t spi_cfg_t::bits

Definition at line 90 of file spi.h.

◆ chip_select

uint8_t spi_cfg_t::chip_select

Definition at line 89 of file spi.h.

◆ mck_divisor

uint8_t spi_cfg_t::mck_divisor

Definition at line 91 of file spi.h.

◆ mode

spi_mode_t spi_cfg_t::mode

Definition at line 87 of file spi.h.

◆ role

spi_role_t spi_cfg_t::role

Definition at line 86 of file spi.h.

◆ select_mode

spi_select_mode_t spi_cfg_t::select_mode

Definition at line 88 of file spi.h.


The documentation for this struct was generated from the following file: