/ * @brief * Set a single pin in GPIO data out register to 1. * * @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. ***********************************
| 329 | * The pin to set. |
| 330 | ******************************************************************************/ |
| 331 | void GPIO_PinOutSet(GPIO_Port_TypeDef port, unsigned int pin) |
| 332 | { |
| 333 | EFM_ASSERT(GPIO_PORT_VALID(port) && GPIO_PIN_VALID(pin)); |
| 334 | |
| 335 | GPIO->P[port].DOUTSET = 1 << pin; |
| 336 | } |
| 337 | |
| 338 | |
| 339 | /***************************************************************************//** |
no outgoing calls
no test coverage detected