Home
last modified time | relevance | path

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

/hal_silabs-latest/simplicity_sdk/platform/emlib/src/
Dem_rmu.c252 uint32_t shift; in RMU_ResetControl() local
254 shift = SL_CTZ((uint32_t)reset); in RMU_ResetControl()
256 BUS_RegBitWrite(&EMU->RSTCTRL, (uint32_t)shift, mode ? 1 : 0); in RMU_ResetControl()
258 EFM_ASSERT(shift < 32); in RMU_ResetControl()
259 val = (uint32_t)mode << shift; in RMU_ResetControl()
262 BUS_RegBitWrite(&RMU->CTRL, (uint32_t)shift, mode ? 1 : 0); in RMU_ResetControl()
Dem_prs.c404 uint32_t shift = (ch % 4) * 8; in PRS_GpioOutputLocation() local
405 uint32_t mask = location << shift; in PRS_GpioOutputLocation()
/hal_silabs-latest/gecko/emlib/src/
Dem_rmu.c246 uint32_t shift; in RMU_ResetControl() local
248 shift = SL_CTZ((uint32_t)reset); in RMU_ResetControl()
250 BUS_RegBitWrite(&EMU->RSTCTRL, (uint32_t)shift, mode ? 1 : 0); in RMU_ResetControl()
252 val = (uint32_t)mode << shift; in RMU_ResetControl()
255 BUS_RegBitWrite(&RMU->CTRL, (uint32_t)shift, mode ? 1 : 0); in RMU_ResetControl()
Dem_adc.c215 uint32_t shift; in ADC_LoadDevinfoCal() local
219 shift = _ADC_CAL_SCANOFFSET_SHIFT; in ADC_LoadDevinfoCal()
226 shift = _ADC_CAL_SINGLEOFFSET_SHIFT; in ADC_LoadDevinfoCal()
341 adc->CAL = calReg | (newCal << shift); in ADC_LoadDevinfoCal()
Dem_prs.c404 uint32_t shift = (ch % 4) * 8; in PRS_GpioOutputLocation() local
405 uint32_t mask = location << shift; in PRS_GpioOutputLocation()
/hal_silabs-latest/si32/si32Hal/sim3l1xx/
DSI32_DMAXBAR_A_Type.c124 uint32_t shift = (chnsel & 0x70) >> 2; in _SI32_DMAXBAR_A_select_channel_peripheral() local
125 uint32_t mask = 0xF << shift; in _SI32_DMAXBAR_A_select_channel_peripheral()
126 uint32_t value = (chnsel & 0xF) << shift; in _SI32_DMAXBAR_A_select_channel_peripheral()
/hal_silabs-latest/si32/si32Hal/sim3c1xx/
DSI32_DMAXBAR_A_Type.c124 uint32_t shift = (chnsel & 0x70) >> 2; in _SI32_DMAXBAR_A_select_channel_peripheral() local
125 uint32_t mask = 0xF << shift; in _SI32_DMAXBAR_A_select_channel_peripheral()
126 uint32_t value = (chnsel & 0xF) << shift; in _SI32_DMAXBAR_A_select_channel_peripheral()
/hal_silabs-latest/si32/si32Hal/sim3u1xx/
DSI32_DMAXBAR_A_Type.c124 uint32_t shift = (chnsel & 0x70) >> 2; in _SI32_DMAXBAR_A_select_channel_peripheral() local
125 uint32_t mask = 0xF << shift; in _SI32_DMAXBAR_A_select_channel_peripheral()
126 uint32_t value = (chnsel & 0xF) << shift; in _SI32_DMAXBAR_A_select_channel_peripheral()
/hal_silabs-latest/wiseconnect/components/device/silabs/si91x/mcu/drivers/rom_driver/inc/
Drsi_rom_table_si91x.h627 …void (* rsi_arm_scale_q7_opt)( q7_t *pSrc,q7_t scaleFract,int8_t shift,q7_t *pDst,uint32_t blockS…
629 …void (* rsi_arm_scale_q15_opt)( q15_t *pSrc, q15_t scaleFract, int8_t shift, q15_t *pDst,uint32_t…
631 …void (* rsi_arm_scale_q31_opt)( q31_t * pSrc,q31_t scaleFract, int8_t shift,q31_t * pDst,uint32_t…