EFM32-TG-STK3300 Energy Micro, EFM32-TG-STK3300 Datasheet - Page 94

MCU, MPU & DSP Development Tools TG Starter Kit

EFM32-TG-STK3300

Manufacturer Part Number
EFM32-TG-STK3300
Description
MCU, MPU & DSP Development Tools TG Starter Kit
Manufacturer
Energy Micro
Series
EFM®32r
Type
MCUr

Specifications of EFM32-TG-STK3300

Processor To Be Evaluated
EFM32
Processor Series
EMF32 Tiny Gecko
Data Bus Width
32 bit
Interface Type
USB, JTAG, LCD, Touch Interface
Operating Supply Voltage
5 V
Contents
Board, Cable, CD and Documentation
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
EFM32-TGXXX

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EFM32-TG-STK3300
Manufacturer:
EnergyMi
Quantity:
11
4.2.10 NVIC design hints and tips
4.2.10.1 NVIC programming hints
4.3 System control block
2011-02-04 - d0002_Rev1.00
Ensure software uses correctly aligned register accesses. The processor does not support unaligned
accesses to NVIC registers. See the individual register descriptions for the supported access sizes.
A interrupt can enter pending state even it is disabled.
Before programming VTOR to relocate the vector table, ensure the vector table entries of the new vector
table are setup for fault handlers, NMI and all enabled exception like interrupts. For more information
see Section 4.3.5 (p. 98) .
Software uses the CPSIE I and CPSID I instructions to enable and disable interrupts. The CMSIS
provides the following intrinsic functions for these instructions:
void __disable_irq(void)
void __enable_irq(void)
In addition, the CMSIS provides a number of functions for NVIC control, including:
Table 4.11. CMSIS functions for NVIC control
For more information about these functions see the CMSIS documentation.
The System control block (SCB) provides system implementation information, and system control.
This includes configuration, control, and reporting of the system exceptions. The system control block
registers are:
Table 4.12. Summary of the system control block registers
CMSIS interrupt control function
void NVIC_SetPriorityGrouping(uint32_t
priority_grouping)
void NVIC_EnableIRQ(IRQn_t IRQn)
void NVIC_DisableIRQ(IRQn_t IRQn)
uint32_t NVIC_GetPendingIRQ (IRQn_t IRQn)
void NVIC_SetPendingIRQ (IRQn_t IRQn)
void NVIC_ClearPendingIRQ (IRQn_t IRQn)
uint32_t NVIC_GetActive (IRQn_t IRQn)
void NVIC_SetPriority (IRQn_t IRQn, uint32_t
priority)
uint32_t NVIC_GetPriority (IRQn_t IRQn)
void NVIC_SystemReset (void)
Address
0xE000E008 ACTLR
If the interrupt signal is still asserted, the state of the interrupt does not change. Otherwise, the state
of the interrupt changes to inactive.
Name
Type
RW
Required
privilege
Privileged
// Enable Interrupts
// Disable Interrupts
Reset value Description
0x00000000 Section 4.3.2 (p. 95)
...the world's most energy friendly microcontrollers
Description
Set the priority grouping
Enable IRQn
Disable IRQn
Return true (IRQ-Number) if IRQn is pending
Set IRQn pending
Clear IRQn pending status
Return the IRQ number of the active interrupt
Set priority for IRQn
Read priority of IRQn
Reset the system
94
www.energymicro.com

Related parts for EFM32-TG-STK3300