Home
last modified time | relevance | path

Searched refs:GPIO_PIN_MASK (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dgpio.c99 const uint32_t shift_1b = gpioNum & GPIO_PIN_MASK; in gpioConfigWithNum()
100 const uint32_t shift_2b = (gpioNum & GPIO_PIN_MASK) * 2; in gpioConfigWithNum()
122 const uint32_t shift_2b = (gpioNum & GPIO_PIN_MASK) * 2; in gpioConfigInputWithNum()
140 const uint32_t shift_2b = (gpioNum & GPIO_PIN_MASK) * 2; in gpioConfigOutputWithNum()
161 const uint32_t pinNo = gpioNum & GPIO_PIN_MASK; in gpioConfigAltWithNum()
163 const uint32_t nibbleNo = pinNo & (GPIO_PIN_MASK >> 1); in gpioConfigAltWithNum()
187 const uint32_t pinNo = gpioNum & GPIO_PIN_MASK; in gpioConfigAnalogWithNum()
206 const uint32_t shift_1b = gpioNum & GPIO_PIN_MASK; in gpioSetWithNum()
222 const uint32_t shift_1b = gpioNum & GPIO_PIN_MASK; in gpioGetWithNum()
239 …int32_t bsrrVals[] = {(1 << (DEBUG_UART_PIN & GPIO_PIN_MASK)) << 16, (1 << (DEBUG_UART_PIN & GPIO_… in gpioBitbangedUartOut()
Dsyscfg.c36 const uint32_t pinNo = gpioNum & GPIO_PIN_MASK; in syscfgSetExtiPort()
/device/google/contexthub/firmware/inc/platform/stm32f4xx/
Dexti.h75 extiEnableIntLine(gpioNum & GPIO_PIN_MASK, trigger); in extiEnableIntGpio()
82 extiDisableIntLine(gpioNum & GPIO_PIN_MASK); in extiDisableIntGpio()
89 return extiIsPendingLine(gpioNum & GPIO_PIN_MASK); in extiIsPendingGpio()
97 extiClearPendingLine(gpioNum & GPIO_PIN_MASK); in extiClearPendingGpio()
Dgpio.h55 #define GPIO_PIN_MASK 0xf macro