EFM32JG1B200F256GM48Devices
Modules |
|
Bit Fields | |
Core | |
Processor and Core Peripheral Section.
|
|
Part | |
Peripheral Declarations | |
Peripheral Memory Map | |
Peripheral Offsets | |
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, EMU_IRQn = 0, WDOG0_IRQn = 2, LDMA_IRQn = 8, GPIO_EVEN_IRQn = 9, TIMER0_IRQn = 10, USART0_RX_IRQn = 11, USART0_TX_IRQn = 12, ACMP0_IRQn = 13, ADC0_IRQn = 14, IDAC0_IRQn = 15, I2C0_IRQn = 16, GPIO_ODD_IRQn = 17, TIMER1_IRQn = 18, USART1_RX_IRQn = 19, USART1_TX_IRQn = 20, LEUART0_IRQn = 21, PCNT0_IRQn = 22, CMU_IRQn = 23, MSC_IRQn = 24, CRYPTO_IRQn = 25, LETIMER0_IRQn = 26, RTCC_IRQn = 29, CRYOTIMER_IRQn = 31 } |
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
418
of file
efm32jg1b200f256gm48.h
.
Typedef Documentation
Enumeration Type Documentation
enum IRQn |
Interrupt Number Definition
Definition at line
58
of file
efm32jg1b200f256gm48.h
.