Loading...
Searching...
No Matches
spi_dev_t Struct Reference

SPI device configuration. More...

Detailed Description

SPI device configuration.

Definition at line 518 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
 
CMU_Clock_TypeDef cmu
 the device CMU channel
 
IRQn_Type irq
 the devices base IRQ channel
 

Field Documentation

◆ clk_pin

gpio_t spi_dev_t::clk_pin

pin used for CLK

Definition at line 522 of file periph_cpu.h.

◆ cmu

CMU_Clock_TypeDef spi_dev_t::cmu

the device CMU channel

Definition at line 526 of file periph_cpu.h.

◆ dev

USART_TypeDef* spi_dev_t::dev

USART device used.

Definition at line 519 of file periph_cpu.h.

◆ irq

IRQn_Type spi_dev_t::irq

the devices base IRQ channel

Definition at line 527 of file periph_cpu.h.

◆ miso_pin

gpio_t spi_dev_t::miso_pin

pin used for MISO

Definition at line 521 of file periph_cpu.h.

◆ mosi_pin

gpio_t spi_dev_t::mosi_pin

pin used for MOSI

Definition at line 520 of file periph_cpu.h.


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