Lines Matching refs:mask
197 static inline void GPIO_SecurePrivilegeLock(GPIO_Type *base, gpio_pin_interrupt_control_t mask) in GPIO_SecurePrivilegeLock() argument
199 base->LOCK |= GPIO_FIT_REG(mask); in GPIO_SecurePrivilegeLock()
208 static inline void GPIO_EnablePinControlNonSecure(GPIO_Type *base, uint32_t mask) in GPIO_EnablePinControlNonSecure() argument
210 base->PCNS |= GPIO_FIT_REG(mask); in GPIO_EnablePinControlNonSecure()
219 static inline void GPIO_DisablePinControlNonSecure(GPIO_Type *base, uint32_t mask) in GPIO_DisablePinControlNonSecure() argument
221 base->PCNS &= GPIO_FIT_REG(~mask); in GPIO_DisablePinControlNonSecure()
230 static inline void GPIO_EnablePinControlNonPrivilege(GPIO_Type *base, uint32_t mask) in GPIO_EnablePinControlNonPrivilege() argument
232 base->PCNP |= GPIO_FIT_REG(mask); in GPIO_EnablePinControlNonPrivilege()
241 static inline void GPIO_DisablePinControlNonPrivilege(GPIO_Type *base, uint32_t mask) in GPIO_DisablePinControlNonPrivilege() argument
243 base->PCNP &= GPIO_FIT_REG(~mask); in GPIO_DisablePinControlNonPrivilege()
252 static inline void GPIO_EnableInterruptControlNonSecure(GPIO_Type *base, uint32_t mask) in GPIO_EnableInterruptControlNonSecure() argument
254 base->ICNS |= GPIO_FIT_REG(mask); in GPIO_EnableInterruptControlNonSecure()
263 static inline void GPIO_DisableInterruptControlNonSecure(GPIO_Type *base, uint32_t mask) in GPIO_DisableInterruptControlNonSecure() argument
265 base->ICNS &= GPIO_FIT_REG(~mask); in GPIO_DisableInterruptControlNonSecure()
274 static inline void GPIO_EnableInterruptControlNonPrivilege(GPIO_Type *base, uint32_t mask) in GPIO_EnableInterruptControlNonPrivilege() argument
276 base->ICNP |= GPIO_FIT_REG(mask); in GPIO_EnableInterruptControlNonPrivilege()
285 static inline void GPIO_DisableInterruptControlNonPrivilege(GPIO_Type *base, uint32_t mask) in GPIO_DisableInterruptControlNonPrivilege() argument
287 base->ICNP &= GPIO_FIT_REG(~mask); in GPIO_DisableInterruptControlNonPrivilege()
298 static inline void GPIO_PortInputEnable(GPIO_Type *base, uint32_t mask) in GPIO_PortInputEnable() argument
300 base->PIDR &= GPIO_FIT_REG(~mask); in GPIO_PortInputEnable()
309 static inline void GPIO_PortInputDisable(GPIO_Type *base, uint32_t mask) in GPIO_PortInputDisable() argument
311 base->PIDR |= GPIO_FIT_REG(mask); in GPIO_PortInputDisable()
358 static inline void GPIO_PortSet(GPIO_Type *base, uint32_t mask) in GPIO_PortSet() argument
361 base->PSOR = GPIO_FIT_REG(mask); in GPIO_PortSet()
363 base->PDOR |= GPIO_FIT_REG(mask); in GPIO_PortSet()
373 static inline void GPIO_PortClear(GPIO_Type *base, uint32_t mask) in GPIO_PortClear() argument
376 base->PCOR = GPIO_FIT_REG(mask); in GPIO_PortClear()
378 base->PDOR &= ~GPIO_FIT_REG(mask); in GPIO_PortClear()
388 static inline void GPIO_PortToggle(GPIO_Type *base, uint32_t mask) in GPIO_PortToggle() argument
391 base->PTOR = GPIO_FIT_REG(mask); in GPIO_PortToggle()
393 base->PDOR ^= GPIO_FIT_REG(mask); in GPIO_PortToggle()
443 void GPIO_PortClearInterruptFlags(GPIO_Type *base, uint32_t mask);
526 void GPIO_GpioClearInterruptFlags(GPIO_Type *base, uint32_t mask);
535 void GPIO_GpioClearInterruptChannelFlags(GPIO_Type *base, uint32_t mask, uint32_t channel);
577 static inline void GPIO_SetMultipleInterruptPinsConfig(GPIO_Type *base, uint32_t mask, gpio_interru… in GPIO_SetMultipleInterruptPinsConfig() argument
581 if (0UL != (mask & 0xffffUL)) in GPIO_SetMultipleInterruptPinsConfig()
583 base->GICLR = GPIO_FIT_REG((GPIO_ICR_IRQC(config)) | (mask & 0xffffU)); in GPIO_SetMultipleInterruptPinsConfig()
585 mask = mask >> 16U; in GPIO_SetMultipleInterruptPinsConfig()
586 if (mask != 0UL) in GPIO_SetMultipleInterruptPinsConfig()
588 base->GICHR = GPIO_FIT_REG((GPIO_ICR_IRQC(config)) | (mask & 0xffffU)); in GPIO_SetMultipleInterruptPinsConfig()
699 static inline void FGPIO_PortSet(FGPIO_Type *base, uint32_t mask) in FGPIO_PortSet() argument
701 base->PSOR = mask; in FGPIO_PortSet()
710 static inline void FGPIO_PortClear(FGPIO_Type *base, uint32_t mask) in FGPIO_PortClear() argument
712 base->PCOR = mask; in FGPIO_PortClear()
721 static inline void FGPIO_PortToggle(FGPIO_Type *base, uint32_t mask) in FGPIO_PortToggle() argument
723 base->PTOR = mask; in FGPIO_PortToggle()
771 void FGPIO_PortClearInterruptFlags(FGPIO_Type *base, uint32_t mask);