/ * @brief * Set/Clear chip select * * @details * * @note * * @param[in] enable * Chip select pin setting *********************************************************************/
| 223 | * Chip select pin setting |
| 224 | *********************************************************************/ |
| 225 | static void efm_spiFlash_cs(rt_uint8_t enable) |
| 226 | { |
| 227 | if (!sFlashAutoCs) |
| 228 | { |
| 229 | if (enable) |
| 230 | { |
| 231 | GPIO_PinOutClear(SFLASH_CS_PORT, SFLASH_CS_PIN); |
| 232 | } |
| 233 | else |
| 234 | { |
| 235 | GPIO_PinOutSet(SFLASH_CS_PORT, SFLASH_CS_PIN); |
| 236 | } |
| 237 | } |
| 238 | } |
| 239 | |
| 240 | /******************************************************************//** |
| 241 | * @brief |
no test coverage detected