Searched refs:pull (Results 1 – 3 of 3) sorted by relevance
/device/google/contexthub/firmware/src/platform/stm32f4xx/ |
D | gpio.c | 96 static void gpioConfigWithNum(uint32_t gpioNum, int32_t gpioSpeed, enum GpioPullMode pull, enum Gpi… in gpioConfigWithNum() argument 111 block->PUPDR = (block->PUPDR & ~mask_2b) | (((uint32_t)pull) << shift_2b); in gpioConfigWithNum() 119 static void gpioConfigInputWithNum(uint32_t gpioNum, int32_t gpioSpeed, enum GpioPullMode pull) in gpioConfigInputWithNum() argument 125 gpioConfigWithNum(gpioNum, gpioSpeed, pull, GPIO_OUT_PUSH_PULL); in gpioConfigInputWithNum() 131 …pioConfigInput(const struct Gpio* __restrict gpioHandle, int32_t gpioSpeed, enum GpioPullMode pull) in gpioConfigInput() argument 134 gpioConfigInputWithNum((uint32_t)gpioHandle - GPIO_HANDLE_OFFSET, gpioSpeed, pull); in gpioConfigInput() 137 static void gpioConfigOutputWithNum(uint32_t gpioNum, int32_t gpioSpeed, enum GpioPullMode pull, en… in gpioConfigOutputWithNum() argument 143 gpioConfigWithNum(gpioNum, gpioSpeed, pull, output); in gpioConfigOutputWithNum() 152 … struct Gpio* __restrict gpioHandle, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrain… in gpioConfigOutput() argument 155 …gpioConfigOutputWithNum((uint32_t)gpioHandle - GPIO_HANDLE_OFFSET, gpioSpeed, pull, output, value); in gpioConfigOutput() [all …]
|
/device/google/contexthub/firmware/inc/ |
D | gpio.h | 71 void gpioConfigInput(const struct Gpio* __restrict gpio, int32_t gpioSpeed, enum GpioPullMode pull); 72 void gpioConfigOutput(const struct Gpio* __restrict gpio, int32_t gpioSpeed, enum GpioPullMode pull… 73 void gpioConfigAlt(const struct Gpio* __restrict gpio, int32_t gpioSpeed, enum GpioPullMode pull, e…
|
D | syscallDo.h | 271 …d eOsGpioConfigInput(const struct Gpio* __restrict gpio, int32_t gpioSpeed, enum GpioPullMode pull) in eOsGpioConfigInput() argument 273 …N_OS, SYSCALL_OS_DRIVERS, SYSCALL_OS_DRV_GPIO, SYSCALL_OS_DRV_GPIO_CFG_IN), gpio, gpioSpeed, pull); in eOsGpioConfigInput() 276 …(const struct Gpio* __restrict gpio, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrain… in eOsGpioConfigOutput() argument 278 …DRIVERS, SYSCALL_OS_DRV_GPIO, SYSCALL_OS_DRV_GPIO_CFG_OUT), gpio, gpioSpeed, pull, odrMode, value); in eOsGpioConfigOutput() 281 …(const struct Gpio* __restrict gpio, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrain… in eOsGpioConfigAlt() argument 283 …IVERS, SYSCALL_OS_DRV_GPIO, SYSCALL_OS_DRV_GPIO_CFG_ALT), gpio, gpioSpeed, pull, odrMode, altFunc); in eOsGpioConfigAlt()
|