|
STM8S/A Standard Peripherals Firmware Library
|
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) |
Select SD Card: ChipSelect pin low.
Definition at line 219 of file stm8s_eval_spi_sd.h.
Referenced by SD_GetCIDRegister(), SD_GetCSDRegister(), SD_GetStatus(), SD_GoIdleState(), SD_Init(), SD_ReadBlock(), SD_ReadBuffer(), SD_WriteBlock(), and SD_WriteBuffer().