Searched refs:getBit (Results 1 – 3 of 3) sorted by relevance
166 return getBit(((uint32_t)&M0P_GPIO->PAIN + enPort), enPin); in Gpio_GetInputIO()211 return getBit(((uint32_t)&M0P_GPIO->PAOUT + enPort), enPin); in Gpio_ReadOutputIO()408 return getBit((uint32_t)&M0P_GPIO->PA_STAT + enPort, enPin); in Gpio_GetIrqStatus()
706 return getBit(&(M0P_SYSCTRL->PERI_CLKEN), enPeripheral); in Sysctrl_GetPeripheralGate()
85 #define getBit(addr,offset) ((((*((volatile uint32_t *)(addr))) >> (offset)) & 1u)>0?1u:0) macro
Completed in 8 milliseconds