EFM32 Gecko Software Documentation
efm32g-doc-5.1.2
|
Modules | |
EFM32G890F128 Alternate Function | |
EFM32G890F128 Bit Fields | |
EFM32G890F128 Core | |
Processor and Core Peripheral Section. | |
EFM32G890F128 Part | |
EFM32G890F128 Peripheral Declarations | |
EFM32G890F128 Peripheral Memory Map | |
EFM32G890F128 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. More... | |
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, TIMER2_IRQn = 11, USART1_RX_IRQn = 12, USART1_TX_IRQn = 13, USART2_RX_IRQn = 14, USART2_TX_IRQn = 15, UART0_RX_IRQn = 16, UART0_TX_IRQn = 17, LEUART0_IRQn = 18, LEUART1_IRQn = 19, LETIMER0_IRQn = 20, PCNT0_IRQn = 21, PCNT1_IRQn = 22, PCNT2_IRQn = 23, RTC_IRQn = 24, CMU_IRQn = 25, VCMP_IRQn = 26, LCD_IRQn = 27, MSC_IRQn = 28, AES_IRQn = 29 } |
#define SET_BIT_FIELD | ( | REG, | |
MASK, | |||
VALUE, | |||
OFFSET | |||
) | REG = ((REG) &~(MASK)) | (((VALUE) << (OFFSET)) & (MASK)); |
Set the value of a bit field within a register.
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 efm32g890f128.h.
enum IRQn |
Interrupt Number Definition
Definition at line 52 of file efm32g890f128.h.