/ * @brief * Set/Clear chip select * * @details * * @note * * @param[in] enable * Chip select pin setting ******************************************************************************/
| 390 | * Chip select pin setting |
| 391 | ******************************************************************************/ |
| 392 | static void efm32_spiLcd_cs(rt_uint8_t enable) |
| 393 | { |
| 394 | if (!lcdAutoCs) |
| 395 | { |
| 396 | if (enable) |
| 397 | { |
| 398 | GPIO_PinOutClear(LCD_CS_PORT, LCD_CS_PIN); |
| 399 | } |
| 400 | else |
| 401 | { |
| 402 | GPIO_PinOutSet(LCD_CS_PORT, LCD_CS_PIN); |
| 403 | } |
| 404 | } |
| 405 | } |
| 406 | |
| 407 | /***************************************************************************//** |
| 408 | * @brief |
no test coverage detected