Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/platform/stm32/
Dsyscfg.c36 const uint32_t pinNo = gpioNum & GPIO_PIN_MASK; in syscfgSetExtiPort() local
37 const uint32_t regNo = pinNo >> SYSCFG_REG_SHIFT; in syscfgSetExtiPort()
38 const uint32_t nibbleNo = pinNo & ((1UL << SYSCFG_REG_SHIFT) - 1UL); in syscfgSetExtiPort()
Dgpio.c161 const uint32_t pinNo = gpioNum & GPIO_PIN_MASK; in gpioConfigAltWithNum() local
162 const uint32_t regNo = pinNo >> (GPIO_PORT_SHIFT - 1); in gpioConfigAltWithNum()
163 const uint32_t nibbleNo = pinNo & (GPIO_PIN_MASK >> 1); in gpioConfigAltWithNum()
164 const uint32_t shift_2b = pinNo * 2; in gpioConfigAltWithNum()
187 const uint32_t pinNo = gpioNum & GPIO_PIN_MASK; in gpioConfigAnalogWithNum() local
188 const uint32_t shift_2b = pinNo * 2; in gpioConfigAnalogWithNum()