Searched refs:shift_4b (Results 1 – 2 of 2) sorted by relevance
39 const uint32_t shift_4b = nibbleNo << 2UL; in syscfgSetExtiPort() local40 const uint32_t mask_4b = 0x0FUL << shift_4b; in syscfgSetExtiPort()44 block->EXTICR[regNo] = (block->EXTICR[regNo] & ~mask_4b) | (bankNo << shift_4b); in syscfgSetExtiPort()
165 const uint32_t shift_4b = nibbleNo * 4; in gpioConfigAltWithNum() local167 const uint32_t mask_4b = (15UL << shift_4b); in gpioConfigAltWithNum()172 block->AFR[regNo] = (block->AFR[regNo] & ~mask_4b) | (((uint32_t)altFunc) << shift_4b); in gpioConfigAltWithNum()