XDK API  3.6.0
Documentation
Macros
SD card board pins

Settings used for the SD card interface contained in the board. More...

+ Collaboration diagram for SD card board pins:

Macros

#define SD_CARD_CS_MODE   (gpioModeWiredAnd)
 
#define SD_CARD_CS_PIN   (15)
 
#define SD_CARD_CS_PORT   (gpioPortB)
 
#define SD_CARD_LS_MODE   (gpioModeWiredAnd)
 
#define SD_CARD_LS_PIN   (7)
 
#define SD_CARD_LS_PORT   (gpioPortC)
 
#define SD_CARD_RX_INTERRUPT_PRIORITY   UINT32_C(5)
 
#define SD_CARD_RX_IRQN   USART1_RX_IRQn
 
#define SD_CARD_SERIAL_PORT   USART1
 
#define SD_CARD_SPI1_CLOCK   (cmuClock_USART1)
 
#define SD_CARD_SPI1_MISO_MODE   (gpioModeInput)
 
#define SD_CARD_SPI1_MISO_PIN   (1)
 
#define SD_CARD_SPI1_MISO_PORT   (gpioPortD)
 
#define SD_CARD_SPI1_MOSI_MODE   (gpioModePushPull)
 
#define SD_CARD_SPI1_MOSI_PIN   (0)
 
#define SD_CARD_SPI1_MOSI_PORT   (gpioPortD)
 
#define SD_CARD_SPI1_SCK_MODE   (gpioModePushPull)
 
#define SD_CARD_SPI1_SCK_PIN   (2)
 
#define SD_CARD_SPI1_SCK_PORT   (gpioPortD)
 
#define SD_CARD_SPI_BAUDRATE   UINT32_C(4000000)
 
#define SD_CARD_SPI_PERCLK_FREQUENCY   HSE_VALUE
 
#define SD_CARD_TX_INTERRUPT_PRIORITY   UINT32_C(6)
 
#define SD_CARD_TX_IRQN   USART1_TX_IRQn
 
#define SD_DETECT_EDGE_FALLING   true
 
#define SD_DETECT_EDGE_RISING   true
 
#define SD_DETECT_MODE   (gpioModeInputPullFilter)
 
#define SD_DETECT_PIN   (12)
 
#define SD_DETECT_PORT   (gpioPortF)
 
#define SDCARD_SPI_RX_DMA_CHANNEL   (1)
 
#define SDCARD_SPI_TX_DMA_CHANNEL   (0)
 

Detailed Description

Warning
Please do not change these settings, since these are specific to hardware

Macro Definition Documentation

#define SD_CARD_CS_MODE   (gpioModeWiredAnd)
#define SD_CARD_CS_PIN   (15)
#define SD_CARD_CS_PORT   (gpioPortB)
#define SD_CARD_LS_MODE   (gpioModeWiredAnd)
#define SD_CARD_LS_PIN   (7)
#define SD_CARD_LS_PORT   (gpioPortC)
#define SD_CARD_RX_INTERRUPT_PRIORITY   UINT32_C(5)
#define SD_CARD_RX_IRQN   USART1_RX_IRQn
#define SD_CARD_SERIAL_PORT   USART1
#define SD_CARD_SPI1_CLOCK   (cmuClock_USART1)
#define SD_CARD_SPI1_MISO_MODE   (gpioModeInput)
#define SD_CARD_SPI1_MISO_PIN   (1)
#define SD_CARD_SPI1_MISO_PORT   (gpioPortD)
#define SD_CARD_SPI1_MOSI_MODE   (gpioModePushPull)
#define SD_CARD_SPI1_MOSI_PIN   (0)
#define SD_CARD_SPI1_MOSI_PORT   (gpioPortD)
#define SD_CARD_SPI1_SCK_MODE   (gpioModePushPull)
#define SD_CARD_SPI1_SCK_PIN   (2)
#define SD_CARD_SPI1_SCK_PORT   (gpioPortD)
#define SD_CARD_SPI_BAUDRATE   UINT32_C(4000000)
#define SD_CARD_SPI_PERCLK_FREQUENCY   HSE_VALUE
#define SD_CARD_TX_INTERRUPT_PRIORITY   UINT32_C(6)
#define SD_CARD_TX_IRQN   USART1_TX_IRQn
#define SD_DETECT_EDGE_FALLING   true
#define SD_DETECT_EDGE_RISING   true
#define SD_DETECT_MODE   (gpioModeInputPullFilter)
#define SD_DETECT_PIN   (12)
#define SD_DETECT_PORT   (gpioPortF)
#define SDCARD_SPI_RX_DMA_CHANNEL   (1)
#define SDCARD_SPI_TX_DMA_CHANNEL   (0)

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:51 by doxygen 1.8.8