Home
last modified time | relevance | path

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

/hal_silabs-3.5.0/gecko/emlib/inc/
Dem_chip.h74 volatile uint32_t *reg; in CHIP_Init() local
79 reg = (volatile uint32_t *)0x400CA00C; in CHIP_Init()
80 *reg &= ~(0x70UL); in CHIP_Init()
82 reg = (volatile uint32_t *)0x400C6020; in CHIP_Init()
83 *reg &= ~(0xE0000000UL); in CHIP_Init()
84 *reg |= ~(7UL << 25); in CHIP_Init()
88 reg = (volatile uint32_t *)0x400C6020; in CHIP_Init()
89 *reg &= ~(0x00001F80UL); in CHIP_Init()
91 reg = (volatile uint32_t *)0x400C8040; in CHIP_Init()
92 *reg = 0; in CHIP_Init()
[all …]
Dem_crypto.h681 __STATIC_INLINE void CRYPTO_BurstToCrypto(volatile uint32_t * reg, in CRYPTO_BurstToCrypto() argument
690 *reg = v0; in CRYPTO_BurstToCrypto()
691 *reg = v1; in CRYPTO_BurstToCrypto()
692 *reg = v2; in CRYPTO_BurstToCrypto()
693 *reg = v3; in CRYPTO_BurstToCrypto()
713 __STATIC_INLINE void CRYPTO_BurstFromCrypto(volatile uint32_t * reg, uint32_t * val) in CRYPTO_BurstFromCrypto() argument
716 register uint32_t v0 = *reg; in CRYPTO_BurstFromCrypto()
717 register uint32_t v1 = *reg; in CRYPTO_BurstFromCrypto()
718 register uint32_t v2 = *reg; in CRYPTO_BurstFromCrypto()
719 register uint32_t v3 = *reg; in CRYPTO_BurstFromCrypto()
[all …]
Dem_smu.h1018 uint32_t reg[2]; /**< Peripheral access control array.*/ member
1060 SMU->PPUPATD0 = init->ppu.reg[0]; in SMU_Init()
1061 SMU->PPUPATD1 = init->ppu.reg[1]; in SMU_Init()
/hal_silabs-3.5.0/gecko/emlib/src/
Dem_emu.c1908 uint32_t reg; in EMU_BUPDInit() local
1911 reg = EMU->PWRCONF & ~(_EMU_PWRCONF_PWRRES_MASK in EMU_BUPDInit()
1916 reg |= bupdInit->resistor in EMU_BUPDInit()
1921 EMU->PWRCONF = reg; in EMU_BUPDInit()
1924 reg = EMU->BUINACT & ~(_EMU_BUINACT_PWRCON_MASK); in EMU_BUPDInit()
1925 reg |= (bupdInit->inactivePower); in EMU_BUPDInit()
1926 EMU->BUINACT = reg; in EMU_BUPDInit()
1929 reg = EMU->BUACT & ~(_EMU_BUACT_PWRCON_MASK); in EMU_BUPDInit()
1930 reg |= (bupdInit->activePower); in EMU_BUPDInit()
1931 EMU->BUACT = reg; in EMU_BUPDInit()
[all …]
Dem_dac.c81 volatile uint32_t *reg; in DAC_Enable() local
87 reg = &(dac->CH0CTRL); in DAC_Enable()
89 reg = &(dac->CH1CTRL); in DAC_Enable()
92 BUS_RegBitWrite(reg, _DAC_CH0CTRL_EN_SHIFT, enable); in DAC_Enable()
Dem_letimer.c53 #define LETIMER_COMP_REG_VALID(reg) (((reg) <= 1)) argument
65 #define LETIMER_REP_REG_VALID(reg) (((reg) <= 1)) argument
Dem_rtc.c53 #define RTC_COMP_REG_VALID(reg) (((reg) < NUM_RTC_CHANNELS)) argument
Dem_cmu.c790 volatile uint32_t *reg = NULL; in CMU_ClockEnable() local
797 reg = &CMU->CLKEN0; in CMU_ClockEnable()
799 reg = &CMU->CLKEN1; in CMU_ClockEnable()
802 reg = &CMU->CRYPTOACCCLKCTRL; in CMU_ClockEnable()
813 BUS_RegBitWrite(reg, bit, (uint32_t)enable); in CMU_ClockEnable()
7161 volatile uint32_t *reg; in CMU_ClockEnable() local
7169 reg = &CMU->CTRL; in CMU_ClockEnable()
7175 reg = &CMU->HFCORECLKEN0; in CMU_ClockEnable()
7184 reg = &CMU->HFBUSCLKEN0; in CMU_ClockEnable()
7190 reg = &CMU->HFPERCLKDIV; in CMU_ClockEnable()
[all …]
Dem_rtcc.c99 volatile uint32_t *reg = &PRS->CONSUMER_RTCC_CC0; in RTCC_ChannelInit() local
100 reg[ch] = confPtr->prsSel; in RTCC_ChannelInit()
Dem_crypto.c157 volatile uint32_t * reg = (volatile uint32_t *) dataReg; in CRYPTO_DataWriteVariableSize() local
162 *reg = *val++; in CRYPTO_DataWriteVariableSize()
165 *reg = 0; in CRYPTO_DataWriteVariableSize()
168 CRYPTO_BurstToCrypto(reg, &val[0]); in CRYPTO_DataWriteVariableSize()