EFM32TG842F32Devices
Modules |
|
EFM32TG842F32 Alternate Function | |
EFM32TG842F32 Bit Fields | |
EFM32TG842F32 Core | |
Processor and Core Peripheral Section.
|
|
EFM32TG842F32 Part | |
EFM32TG842F32 Peripheral Declarations | |
EFM32TG842F32 Peripheral Memory Map | |
EFM32TG842F32 Peripheral TypeDefs | |
Device Specific Peripheral Register Structures.
|
|
Macros |
|
#define | SET_BIT_FIELD (REG, MASK, VALUE, OFFSET) REG = ((REG) &~(MASK)) | (((VALUE) << (OFFSET)) & (MASK)); |
Set the value of a bit field within a register.
|
|
Typedefs |
|
typedef enum IRQn | IRQn_Type |
Enumerations |
|
enum |
IRQn
{
NonMaskableInt_IRQn = -14, HardFault_IRQn = -13, MemoryManagement_IRQn = -12, BusFault_IRQn = -11, UsageFault_IRQn = -10, SVCall_IRQn = -5, DebugMonitor_IRQn = -4, PendSV_IRQn = -2, SysTick_IRQn = -1, DMA_IRQn = 0, GPIO_EVEN_IRQn = 1, TIMER0_IRQn = 2, USART0_RX_IRQn = 3, USART0_TX_IRQn = 4, ACMP0_IRQn = 5, ADC0_IRQn = 6, DAC0_IRQn = 7, I2C0_IRQn = 8, GPIO_ODD_IRQn = 9, TIMER1_IRQn = 10, USART1_RX_IRQn = 11, USART1_TX_IRQn = 12, LESENSE_IRQn = 13, LEUART0_IRQn = 14, LETIMER0_IRQn = 15, PCNT0_IRQn = 16, RTC_IRQn = 17, CMU_IRQn = 18, VCMP_IRQn = 19, LCD_IRQn = 20, MSC_IRQn = 21, AES_IRQn = 22 } |
Macro Definition Documentation
#define SET_BIT_FIELD | ( |
REG,
|
|
MASK,
|
|||
VALUE,
|
|||
OFFSET
|
|||
) | REG = ((REG) &~(MASK)) | (((VALUE) << (OFFSET)) & (MASK)); |
Set the value of a bit field within a register.
- Parameters
-
REG
The register to update MASK
The mask for the bit field to update VALUE
The value to write to the bit field OFFSET
The number of bits that the field is offset within the register. 0 (zero) means LSB.
Definition at line
402
of file
efm32tg842f32.h
.
Typedef Documentation
Enumeration Type Documentation
enum IRQn |
Interrupt Number Definition
Definition at line
58
of file
efm32tg842f32.h
.