/ * @brief * Set a single pin in GPIO data out port register to 0. * * @note * In order for the setting to take effect on the output pad, the pin must * have been configured properly. If not, it will take effect whenever the * pin has been properly configured. * * @param[in] port * The GPIO port to access. * * @param[in] pin * The pin to set. ******************************
| 285 | * The pin to set. |
| 286 | ******************************************************************************/ |
| 287 | void GPIO_PinOutClear(GPIO_Port_TypeDef port, unsigned int pin) |
| 288 | { |
| 289 | EFM_ASSERT(GPIO_PORT_VALID(port) && GPIO_PIN_VALID(pin)); |
| 290 | |
| 291 | GPIO->P[port].DOUTCLR = 1 << pin; |
| 292 | } |
| 293 | |
| 294 | |
| 295 | /***************************************************************************//** |
no outgoing calls
no test coverage detected