/hal_silabs-3.7.0/gecko/emlib/src/ |
D | em_crypto.c | 81 const CRYPTO_Data_TypeDef val, 86 const uint32_t * val); 89 uint32_t * val); 171 const CRYPTO_Data_TypeDef val, in CRYPTO_DataWriteVariableSize() argument 180 *reg = *val++; in CRYPTO_DataWriteVariableSize() 186 CRYPTO_BurstToCrypto(reg, &val[0]); in CRYPTO_DataWriteVariableSize() 197 const uint32_t * val) in CRYPTO_BurstToCrypto() argument 200 register uint32_t v0 = val[0]; in CRYPTO_BurstToCrypto() 201 register uint32_t v1 = val[1]; in CRYPTO_BurstToCrypto() 202 register uint32_t v2 = val[2]; in CRYPTO_BurstToCrypto() [all …]
|
D | em_pcnt.c | 1001 void PCNT_TopBufferSet(PCNT_TypeDef *pcnt, uint32_t val) in PCNT_TopBufferSet() argument 1007 pcnt->TOPB = val; in PCNT_TopBufferSet() 1026 void PCNT_TopSet(PCNT_TypeDef *pcnt, uint32_t val) in PCNT_TopSet() argument 1032 EFM_ASSERT((1 << PCNT0_CNT_SIZE) > val); in PCNT_TopSet() 1038 EFM_ASSERT((1 << PCNT1_CNT_SIZE) > val); in PCNT_TopSet() 1044 EFM_ASSERT((1 << PCNT2_CNT_SIZE) > val); in PCNT_TopSet() 1053 pcnt->TOPB = val; in PCNT_TopSet() 1062 pcnt->TOP = val; in PCNT_TopSet()
|
D | em_rmu.c | 244 uint32_t val; in RMU_ResetControl() local 252 val = (uint32_t)mode << shift; in RMU_ResetControl() 253 RMU->CTRL = (RMU->CTRL & ~reset) | val; in RMU_ResetControl()
|
D | em_cmu.c | 3737 void CMU_OscillatorTuningSet(CMU_Osc_TypeDef osc, uint32_t val) in CMU_OscillatorTuningSet() argument 3749 EFM_ASSERT(val <= (_LFRCO_CAL_FREQTRIM_MASK in CMU_OscillatorTuningSet() 3751 val &= _LFRCO_CAL_FREQTRIM_MASK >> _LFRCO_CAL_FREQTRIM_SHIFT; in CMU_OscillatorTuningSet() 3755 | (val << _LFRCO_CAL_FREQTRIM_SHIFT); in CMU_OscillatorTuningSet() 3763 EFM_ASSERT(val <= (_HFRCO_CAL_TUNING_MASK >> _HFRCO_CAL_TUNING_SHIFT)); in CMU_OscillatorTuningSet() 3764 val &= _HFRCO_CAL_TUNING_MASK >> _HFRCO_CAL_TUNING_SHIFT; in CMU_OscillatorTuningSet() 3768 | (val << _HFRCO_CAL_TUNING_SHIFT); in CMU_OscillatorTuningSet() 3773 EFM_ASSERT(val <= (_HFRCO_CAL_TUNING_MASK >> _HFRCO_CAL_TUNING_SHIFT)); in CMU_OscillatorTuningSet() 3774 val &= _HFRCO_CAL_TUNING_MASK >> _HFRCO_CAL_TUNING_SHIFT; in CMU_OscillatorTuningSet() 3778 | (val << _HFRCO_CAL_TUNING_SHIFT); in CMU_OscillatorTuningSet() [all …]
|
D | em_emu.c | 2269 uint32_t val; in dcdcConstCalibrationLoad() local 2281 val = *(diCal_EMU_DCDCLNFREQCTRL + 1); in dcdcConstCalibrationLoad() 2283 *reg = val; in dcdcConstCalibrationLoad() 2285 val = *(diCal_EMU_DCDCLNVCTRL + 1); in dcdcConstCalibrationLoad() 2287 *reg = val; in dcdcConstCalibrationLoad() 2289 val = *(diCal_EMU_DCDCLPCTRL + 1); in dcdcConstCalibrationLoad() 2291 *reg = val; in dcdcConstCalibrationLoad() 2293 val = *(diCal_EMU_DCDCLPVCTRL + 1); in dcdcConstCalibrationLoad() 2295 *reg = val; in dcdcConstCalibrationLoad() 2297 val = *(diCal_EMU_DCDCTRIM0 + 1); in dcdcConstCalibrationLoad() [all …]
|
D | em_cmu_fpga.c | 448 void CMU_OscillatorTuningSet(CMU_Osc_TypeDef osc, uint32_t val) in CMU_OscillatorTuningSet() argument 451 (void) val; in CMU_OscillatorTuningSet()
|
D | em_ebi.c | 90 __STATIC_INLINE void EBI_RouteBitWrite(uint32_t bit, uint32_t val) in EBI_RouteBitWrite() argument 92 BUS_RegBitWrite(&(EBI_GENERIC_ROUTE_REG), bit, val); in EBI_RouteBitWrite()
|
/hal_silabs-3.7.0/gecko/emlib/inc/ |
D | em_bus.h | 72 unsigned int val) in BUS_RamBitWrite() argument 78 *(volatile uint32_t *)aliasAddr = (uint32_t)val; in BUS_RamBitWrite() 83 *addr = (tmp & ~(1UL << bit)) | ((val & 1UL) << bit); in BUS_RamBitWrite() 143 unsigned int val) in BUS_RegBitWrite() argument 148 if (val != 0U) { in BUS_RegBitWrite() 158 *(volatile uint32_t *)aliasAddr = (uint32_t)val; in BUS_RegBitWrite() 163 *addr = (tmp & ~(1 << bit)) | ((val & 1) << bit); in BUS_RegBitWrite() 303 uint32_t val) in BUS_RegMaskedWrite() argument 308 *addr = (*addr & ~mask) | (val & mask); in BUS_RegMaskedWrite()
|
D | em_timer.h | 803 uint32_t val) in TIMER_CompareBufSet() argument 805 EFM_ASSERT(val <= TIMER_MaxCount(timer)); in TIMER_CompareBufSet() 808 timer->CC[ch].OCB = val; in TIMER_CompareBufSet() 810 timer->CC[ch].CCVB = val; in TIMER_CompareBufSet() 830 uint32_t val) in TIMER_CompareSet() argument 832 EFM_ASSERT(val <= TIMER_MaxCount(timer)); in TIMER_CompareSet() 835 timer->CC[ch].OC = val; in TIMER_CompareSet() 837 timer->CC[ch].CCV = val; in TIMER_CompareSet() 866 __STATIC_INLINE void TIMER_CounterSet(TIMER_TypeDef *timer, uint32_t val) in TIMER_CounterSet() argument 868 EFM_ASSERT(val <= TIMER_MaxCount(timer)); in TIMER_CounterSet() [all …]
|
D | em_crypto.h | 696 const uint32_t * val); 715 void CRYPTO_BurstFromCrypto(volatile uint32_t * reg, uint32_t * val); 731 const CRYPTO_Data_TypeDef val); 748 const uint8_t * val); 765 CRYPTO_Data_TypeDef val); 783 uint8_t * val); 799 const CRYPTO_DData_TypeDef val); 814 CRYPTO_DData_TypeDef val); 832 uint8_t * val); 848 const CRYPTO_QData_TypeDef val); [all …]
|
D | em_gpio.h | 827 __STATIC_INLINE void GPIO_InputSenseSet(uint32_t val, uint32_t mask) in GPIO_InputSenseSet() argument 830 BUS_RegMaskedWrite(&(GPIO->INSENSE), mask, val); in GPIO_InputSenseSet() 832 (void) val; in GPIO_InputSenseSet() 1214 uint32_t val, in GPIO_PortOutSetVal() argument 1219 GPIO->P[port].DOUT = (GPIO->P[port].DOUT & ~mask) | (val & mask); in GPIO_PortOutSetVal()
|
D | em_pcnt.h | 758 void PCNT_TopBufferSet(PCNT_TypeDef *pcnt, uint32_t val); 779 void PCNT_TopSet(PCNT_TypeDef *pcnt, uint32_t val);
|
D | em_cmu_fpga.h | 647 void CMU_OscillatorTuningSet(CMU_Osc_TypeDef osc, uint32_t val);
|
D | em_cmu.h | 1406 uint32_t val); 3400 void CMU_OscillatorTuningSet(CMU_Osc_TypeDef osc, uint32_t val);
|