Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dgpio.c47 uint32_t u32Idx; in GPIO_SetMode() local
49 for(u32Idx = 0ul; u32Idx < GPIO_PIN_MAX; u32Idx++) in GPIO_SetMode()
51 if((u32PinMask & (1ul << u32Idx)) == (1ul << u32Idx)) in GPIO_SetMode()
53 port->MODE = (port->MODE & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetMode()
139 uint32_t u32Idx; in GPIO_SetSlewCtl() local
141 for(u32Idx = 0ul; u32Idx < GPIO_PIN_MAX; u32Idx++) in GPIO_SetSlewCtl()
143 if(u32PinMask & (1ul << u32Idx)) in GPIO_SetSlewCtl()
145 … port->SLEWCTL = (port->SLEWCTL & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetSlewCtl()
173 uint32_t u32Idx; in GPIO_SetPullCtl() local
175 for(u32Idx = 0ul; u32Idx < GPIO_PIN_MAX; u32Idx++) in GPIO_SetPullCtl()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dgpio.c47 uint32_t u32Idx; in GPIO_SetMode() local
49 for(u32Idx = 0ul; u32Idx < GPIO_PIN_MAX; u32Idx++) in GPIO_SetMode()
51 if((u32PinMask & (1ul << u32Idx)) == (1ul << u32Idx)) in GPIO_SetMode()
53 port->MODE = (port->MODE & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetMode()
137 uint32_t u32Idx; in GPIO_SetSlewCtl() local
139 for(u32Idx = 0ul; u32Idx < GPIO_PIN_MAX; u32Idx++) in GPIO_SetSlewCtl()
141 if(u32PinMask & (1ul << u32Idx)) in GPIO_SetSlewCtl()
143 … port->SLEWCTL = (port->SLEWCTL & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetSlewCtl()
170 uint32_t u32Idx; in GPIO_SetPullCtl() local
172 for(u32Idx = 0ul; u32Idx < GPIO_PIN_MAX; u32Idx++) in GPIO_SetPullCtl()
[all …]