MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / GPIO_PinOutClear

Function GPIO_PinOutClear

bsp/efm32/Libraries/emlib/src/em_gpio.c:287–292  ·  view source on GitHub ↗

/ * @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. ******************************

Source from the content-addressed store, hash-verified

285 * The pin to set.
286 ******************************************************************************/
287void 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/***************************************************************************//**

Callers 7

efm_eth_csFunction · 0.85
efm32_spiLcd_csFunction · 0.85
efm_spiFlash_csFunction · 0.85
efm_spiSd_csFunction · 0.85
rt_hw_led_offFunction · 0.85
SPI_BC_AccessFunction · 0.85
spiAccessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected