smartmic 2.0.0.0
smartmic_cfg_t Struct Reference

Smart Mic Click configuration object. More...

#include <smartmic.h>

Data Fields

pin_name_t rx_pin
 
pin_name_t tx_pin
 
pin_name_t scl
 
pin_name_t sda
 
pin_name_t miso
 
pin_name_t mosi
 
pin_name_t sck
 
pin_name_t cs
 
pin_name_t en
 
pin_name_t int_pin
 
uint32_t i2c_speed
 
uint8_t i2c_address
 

Detailed Description

Smart Mic Click configuration object.

Configuration object definition of Smart Mic Click driver.

Field Documentation

◆ cs

pin_name_t cs

Chip select pin descriptor for SPI driver.

◆ en

pin_name_t en

Enable device pin.

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ int_pin

pin_name_t int_pin

Interrupt pin.

◆ 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.

◆ rx_pin

pin_name_t rx_pin

RX pin.

◆ sck

pin_name_t sck

Clock pin descriptor for SPI driver.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.

◆ tx_pin

pin_name_t tx_pin

TX pin.


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