| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

- Class List
- Class Members

Public Attributes | List of all members
SPI_InitType Struct Reference
BLUENRG1 Peripheral Driver » SPI Peripheral » Exported Types

Structure definition of SPI initialization. More...

`#include <BlueNRG1_spi.h>`

## Public Attributes

uint8_t | SPI_Mode
uint8_t | SPI_DataSize
uint8_t | SPI_CPOL
uint8_t | SPI_CPHA
uint32_t | SPI_BaudRate

## Detailed Description

Structure definition of SPI initialization.

Definition at line 49 of file BlueNRG1_spi.h.

## Member Data Documentation

uint32_t SPI_InitType::SPI_BaudRate

Specifies the Baud Rate value which will be used to configure the transmit and receive SCK clock.

Note
  The communication clock is derived from the master clock. The slave clock does not need to be set.

Definition at line 62 of file BlueNRG1_spi.h.

uint8_t SPI_InitType::SPI_CPHA

Specifies the clock active edge for the bit capture. This parameter can be a value of SPI_Clock_Phase

Definition at line 59 of file BlueNRG1_spi.h.

uint8_t SPI_InitType::SPI_CPOL

Specifies the serial clock steady state. This parameter can be a value of SPI_Clock_Polarity

Definition at line 56 of file BlueNRG1_spi.h.

uint8_t SPI_InitType::SPI_DataSize

Specifies the SPI data size. This parameter can be a value of SPI_data_size

Definition at line 53 of file BlueNRG1_spi.h.

uint8_t SPI_InitType::SPI_Mode

Specifies the SPI operating mode. This parameter can be a value of SPI_mode

Definition at line 50 of file BlueNRG1_spi.h.

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

- BlueNRG1_spi.h