STM8S/A Standard Peripherals Firmware Library: STM8S_EVAL_SPI_SD_Exported_Macros

STM8S/A

STM8S/A Standard Peripherals Firmware Library
STM8S_EVAL_SPI_SD_Exported_Macros

Defines

#define SD_CS_HIGH()   GPIO_WriteHigh(SD_CS_GPIO_PORT, SD_CS_PIN)
 Deselect SD Card: ChipSelect pin high.
#define SD_CS_LOW()   GPIO_WriteLow(SD_CS_GPIO_PORT, SD_CS_PIN)
 Select SD Card: ChipSelect pin low.

Define Documentation

#define SD_CS_HIGH ( )    GPIO_WriteHigh(SD_CS_GPIO_PORT, SD_CS_PIN)

Deselect SD Card: ChipSelect pin high.

Definition at line 223 of file stm8s_eval_spi_sd.h.

Referenced by SD_GetCIDRegister(), SD_GetCSDRegister(), SD_GetStatus(), SD_GoIdleState(), SD_ReadBlock(), SD_ReadBuffer(), SD_WriteBlock(), and SD_WriteBuffer().

#define SD_CS_LOW ( )    GPIO_WriteLow(SD_CS_GPIO_PORT, SD_CS_PIN)
STM8 Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM8 8-bit Microcontrollers platform visit www.st.com