Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/platform/stm32/
Dgpio.c102 const uint32_t mask_2b = (3UL << shift_2b); in gpioConfigWithNum() local
108 …block->OSPEEDR = (block->OSPEEDR & ~mask_2b) | (((uint32_t)gpioSpeedFromRequestedSpeed(gpioSpeed))… in gpioConfigWithNum()
111 block->PUPDR = (block->PUPDR & ~mask_2b) | (((uint32_t)pull) << shift_2b); in gpioConfigWithNum()
123 const uint32_t mask_2b = (3UL << shift_2b); in gpioConfigInputWithNum() local
128 block->MODER = (block->MODER & ~mask_2b) | (((uint32_t)GPIO_MODE_IN) << shift_2b); in gpioConfigInputWithNum()
141 const uint32_t mask_2b = (3UL << shift_2b); in gpioConfigOutputWithNum() local
149 block->MODER = (block->MODER & ~mask_2b) | (((uint32_t)GPIO_MODE_OUT) << shift_2b); in gpioConfigOutputWithNum()
166 const uint32_t mask_2b = (3UL << shift_2b); in gpioConfigAltWithNum() local
175 block->MODER = (block->MODER & ~mask_2b) | (((uint32_t)GPIO_MODE_ALTERNATE) << shift_2b); in gpioConfigAltWithNum()
189 const uint32_t mask_2b = (3UL << shift_2b); in gpioConfigAnalogWithNum() local
[all …]