spi_dev_t Struct Reference

SPI device configuration. More...

Detailed Description

SPI device configuration.

Definition at line 330 of file periph_cpu.h.

#include <periph_cpu.h>

Data Fields

USART_TypeDef * dev
 USART device used.
 
gpio_t mosi_pin
 pin used for MOSI
 
gpio_t miso_pin
 pin used for MISO
 
gpio_t clk_pin
 pin used for CLK
 
uint32_t loc
 location of USART pins
 
CMU_Clock_TypeDef cmu
 the device CMU channel
 
IRQn_Type irq
 the devices base IRQ channel
 

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