Home
last modified time | relevance | path

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

/hal_silabs-3.5.0/gecko/emlib/src/
Dem_lcd.c369 void LCD_SegmentSet(int com, int bit, bool enable) in LCD_SegmentSet() argument
376 EFM_ASSERT(bit < LCD_SEGMENT_LINES_MAX); in LCD_SegmentSet()
381 BUS_RegBitWrite(&(LCD->SEGD0), bit, enable); in LCD_SegmentSet()
385 BUS_RegBitWrite(&(LCD->SEGD1), bit, enable); in LCD_SegmentSet()
389 BUS_RegBitWrite(&(LCD->SEGD2), bit, enable); in LCD_SegmentSet()
393 BUS_RegBitWrite(&(LCD->SEGD3), bit, enable); in LCD_SegmentSet()
410 EFM_ASSERT(bit < 40); in LCD_SegmentSet()
413 EFM_ASSERT(bit < 32); in LCD_SegmentSet()
419 if (bit < 32) { in LCD_SegmentSet()
420 BUS_RegBitWrite(&(LCD->SEGD0L), bit, enable); in LCD_SegmentSet()
[all …]
Dem_emu.c3865 uint32_t bit; in EMU_VmonEnable() local
3870 bit = _EMU_VMONAVDDCTRL_EN_SHIFT; in EMU_VmonEnable()
3874 bit = _EMU_VMONALTAVDDCTRL_EN_SHIFT; in EMU_VmonEnable()
3878 bit = _EMU_VMONDVDDCTRL_EN_SHIFT; in EMU_VmonEnable()
3882 bit = _EMU_VMONIO0CTRL_EN_SHIFT; in EMU_VmonEnable()
3887 bit = _EMU_VMONIO1CTRL_EN_SHIFT; in EMU_VmonEnable()
3893 bit = _EMU_VMONBUVDDCTRL_EN_SHIFT; in EMU_VmonEnable()
3901 BUS_RegBitWrite(reg, bit, (uint32_t)enable); in EMU_VmonEnable()
3916 uint32_t bit; in EMU_VmonChannelStatusGet() local
3919 bit = _EMU_STATUS_VMONAVDD_SHIFT; in EMU_VmonChannelStatusGet()
[all …]
Dem_gpio.c217 #error Invalid GPIO_EXTIPINSELH bit fields in GPIO_ExtIntConfig()
Dem_ebi.c90 __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()
Dem_cmu.c791 uint32_t bit; in CMU_ClockEnable() local
810 bit = ((unsigned)clock >> CMU_EN_BIT_POS) & CMU_EN_BIT_MASK; in CMU_ClockEnable()
813 BUS_RegBitWrite(reg, bit, (uint32_t)enable); in CMU_ClockEnable()
7162 uint32_t bit; in CMU_ClockEnable() local
7262 bit = ((unsigned)clock >> CMU_EN_BIT_POS) & CMU_EN_BIT_MASK; in CMU_ClockEnable()
7270 BUS_RegBitWrite(reg, bit, (uint32_t)enable); in CMU_ClockEnable()
/hal_silabs-3.5.0/gecko/emlib/inc/
Dem_bus.h70 unsigned int bit, in BUS_RamBitWrite() argument
75 BITBAND_RAM_BASE + (((uint32_t)addr - SRAM_BASE) * (uint32_t) 32) + (bit * (uint32_t) 4); in BUS_RamBitWrite()
82 *addr = (tmp & ~(1 << bit)) | ((val & 1) << bit); in BUS_RamBitWrite()
108 unsigned int bit) in BUS_RamBitRead() argument
112 BITBAND_RAM_BASE + (((uint32_t)addr - SRAM_BASE) * (uint32_t) 32) + (bit * (uint32_t) 4); in BUS_RamBitRead()
116 return ((*addr) >> bit) & 1; in BUS_RamBitRead()
141 unsigned int bit, in BUS_RegBitWrite() argument
151 *(volatile uint32_t *)aliasAddr = 1 << bit; in BUS_RegBitWrite()
154 BITBAND_PER_BASE + (((uint32_t)addr - PER_MEM_BASE) * (uint32_t) 32) + (bit * (uint32_t) 4); in BUS_RegBitWrite()
161 *addr = (tmp & ~(1 << bit)) | ((val & 1) << bit); in BUS_RegBitWrite()
[all …]
Dem_gpio.h629 unsigned int bit = enable ? 0x1UL : 0x0UL; in GPIO_DbgSWDClkEnable() local
632 BUS_RegBitWrite(&(GPIO->ROUTE), _GPIO_ROUTE_SWCLKPEN_SHIFT, bit); in GPIO_DbgSWDClkEnable()
634 BUS_RegBitWrite(&(GPIO->ROUTEPEN), _GPIO_ROUTEPEN_SWCLKTCKPEN_SHIFT, bit); in GPIO_DbgSWDClkEnable()
636 BUS_RegBitWrite(&(GPIO->DBGROUTEPEN), _GPIO_DBGROUTEPEN_SWCLKTCKPEN_SHIFT, bit); in GPIO_DbgSWDClkEnable()
656 unsigned int bit = enable ? 0x1UL : 0x0UL; in GPIO_DbgSWDIOEnable() local
659 BUS_RegBitWrite(&(GPIO->ROUTE), _GPIO_ROUTE_SWDIOPEN_SHIFT, bit); in GPIO_DbgSWDIOEnable()
661 BUS_RegBitWrite(&(GPIO->ROUTEPEN), _GPIO_ROUTEPEN_SWDIOTMSPEN_SHIFT, bit); in GPIO_DbgSWDIOEnable()
663 BUS_RegBitWrite(&(GPIO->DBGROUTEPEN), _GPIO_DBGROUTEPEN_SWDIOTMSPEN_SHIFT, bit); in GPIO_DbgSWDIOEnable()
690 unsigned int bit = enable ? 0x1UL : 0x0UL; in GPIO_DbgSWOEnable() local
693 BUS_RegBitWrite(&(GPIO->ROUTE), _GPIO_ROUTE_SWOPEN_SHIFT, bit); in GPIO_DbgSWOEnable()
[all …]
Dem_lcd.h425 void LCD_SegmentSet(int com, int bit, bool enable);
/hal_silabs-3.5.0/gecko/emlib/
DReadMe_emlib.txt32 The CMSIS Device library contains all peripheral module registers and bit field
51 http://www.silabs.com/support/pages/document-library.aspx?p=MCUs--32-bit
/hal_silabs-3.5.0/gecko/Device/
DReadMe-Device.txt25 http://www.silabs.com/support/pages/document-library.aspx?p=MCUs--32-bit
/hal_silabs-3.5.0/gecko/
DREADME50 * Install the 32-bit MCU SDK with the version you want to update to
/hal_silabs-3.5.0/zephyr/blobs/license/
DMSLA.txt515 exclusively with EFM 32-bit microcontrollers and EFR radios; (b) you may not