Home
last modified time | relevance | path

Searched refs:pinmask (Results 1 – 2 of 2) sorted by relevance

/hal_silabs-3.5.0/gecko/emlib/src/
Dem_gpio.c358 void GPIO_EM4EnablePinWakeup(uint32_t pinmask, uint32_t polaritymask) in GPIO_EM4EnablePinWakeup() argument
360 EFM_ASSERT((pinmask & ~_GPIO_EM4WUEN_MASK) == 0); in GPIO_EM4EnablePinWakeup()
364 GPIO->EM4WUPOL &= ~pinmask; /* Set the wakeup polarity. */ in GPIO_EM4EnablePinWakeup()
365 GPIO->EM4WUPOL |= pinmask & polaritymask; in GPIO_EM4EnablePinWakeup()
368 GPIO->EXTILEVEL &= ~pinmask; in GPIO_EM4EnablePinWakeup()
369 GPIO->EXTILEVEL |= pinmask & polaritymask; in GPIO_EM4EnablePinWakeup()
371 GPIO->EM4WUEN |= pinmask; /* Enable wakeup. */ in GPIO_EM4EnablePinWakeup()
378 GPIO_IntClear(pinmask); in GPIO_EM4EnablePinWakeup()
/hal_silabs-3.5.0/gecko/emlib/inc/
Dem_gpio.h721 __STATIC_INLINE void GPIO_EM4DisablePinWakeup(uint32_t pinmask) in GPIO_EM4DisablePinWakeup() argument
723 EFM_ASSERT((pinmask & ~_GPIO_EM4WUEN_MASK) == 0UL); in GPIO_EM4DisablePinWakeup()
725 GPIO->EM4WUEN &= ~pinmask; in GPIO_EM4DisablePinWakeup()
730 void GPIO_EM4EnablePinWakeup(uint32_t pinmask, uint32_t polaritymask);