sram4 2.0.0.0
sram4_cfg_t Struct Reference

SRAM 4 Click configuration object. More...

#include <sram4.h>

Data Fields

pin_name_t miso
 
pin_name_t mosi
 
pin_name_t sck
 
pin_name_t cs
 
pin_name_t hold
 
uint32_t spi_speed
 
spi_master_mode_t spi_mode
 
spi_master_chip_select_polarity_t cs_polarity
 

Detailed Description

SRAM 4 Click configuration object.

Configuration object definition of SRAM 4 Click driver.

Field Documentation

◆ cs

pin_name_t cs

Chip select pin descriptor for SPI driver.

◆ cs_polarity

spi_master_chip_select_polarity_t cs_polarity

Chip select pin polarity.

◆ hold

pin_name_t hold

Hold.

◆ miso

pin_name_t miso

Master input - slave output pin descriptor for SPI driver.

◆ mosi

pin_name_t mosi

Master output - slave input pin descriptor for SPI driver.

◆ sck

pin_name_t sck

Clock pin descriptor for SPI driver.

◆ spi_mode

spi_master_mode_t spi_mode

SPI master mode.

◆ spi_speed

uint32_t spi_speed

SPI serial speed.


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