Open FFBoard
Open source force feedback firmware
SPIConfig Struct Reference

#include <SPI.h>

Public Member Functions

 SPIConfig (OutputPin cs, bool cspol=true)
 

Public Attributes

OutputPin cs
 
bool cspol
 CSPOL=true === active low. More...
 
SPI_InitTypeDef peripheral
 

Detailed Description

Definition at line 18 of file SPI.h.

Constructor & Destructor Documentation

◆ SPIConfig()

SPIConfig::SPIConfig ( OutputPin  cs,
bool  cspol = true 
)
inline

Definition at line 19 of file SPI.h.

Member Data Documentation

◆ cs

OutputPin SPIConfig::cs

Definition at line 34 of file SPI.h.

◆ cspol

bool SPIConfig::cspol

CSPOL=true === active low.

Definition at line 37 of file SPI.h.

◆ peripheral

SPI_InitTypeDef SPIConfig::peripheral

Definition at line 38 of file SPI.h.


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