magneto 2.0.0.0
magneto_cfg_t Struct Reference

Click configuration structure definition. More...

#include <magneto.h>

Data Fields

pin_name_t miso
 
pin_name_t mosi
 
pin_name_t sck
 
pin_name_t cs
 
pin_name_t out
 
uint32_t spi_speed
 
uint8_t spi_mode
 
spi_master_chip_select_polarity_t cs_polarity
 

Detailed Description

Click configuration structure definition.

Field Documentation

◆ cs

pin_name_t cs

◆ cs_polarity

spi_master_chip_select_polarity_t cs_polarity

◆ miso

pin_name_t miso

◆ mosi

pin_name_t mosi

◆ out

pin_name_t out

◆ sck

pin_name_t sck

◆ spi_mode

uint8_t spi_mode

◆ spi_speed

uint32_t spi_speed

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