Private function prototypes -----------------------------------------------*/ Private functions ---------------------------------------------------------*/ / * @brief * Set/Clear chip select * * @details * * @note * * @param[in] enable * Chip select pin setting ******************************************************************************/
| 58 | * Chip select pin setting |
| 59 | ******************************************************************************/ |
| 60 | static void efm_eth_cs(rt_uint8_t enable) |
| 61 | { |
| 62 | if (!ethAutoCs) |
| 63 | { |
| 64 | if (enable) |
| 65 | { |
| 66 | GPIO_PinOutClear(ETH_CS_PORT, ETH_CS_PIN); |
| 67 | } |
| 68 | else |
| 69 | { |
| 70 | GPIO_PinOutSet(ETH_CS_PORT, ETH_CS_PIN); |
| 71 | } |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | /***************************************************************************//** |
| 76 | * @brief |
no test coverage detected