Searched refs:pinmask (Results 1 – 2 of 2) sorted by relevance
358 void GPIO_EM4EnablePinWakeup(uint32_t pinmask, uint32_t polaritymask) in GPIO_EM4EnablePinWakeup() argument360 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()
721 __STATIC_INLINE void GPIO_EM4DisablePinWakeup(uint32_t pinmask) in GPIO_EM4DisablePinWakeup() argument723 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);