When high exception vectors are not selected, the VBAR holds the exception base address for exceptions that are not taken to Monitor mode or to Hyp mode. More...
Functions | |
__STATIC_FORCEINLINE uint32_t | __get_VBAR (void) |
Get VBAR. | |
__STATIC_FORCEINLINE void | __set_VBAR (uint32_t vbar) |
Set VBAR. | |
When high exception vectors are not selected, the VBAR holds the exception base address for exceptions that are not taken to Monitor mode or to Hyp mode.
Bits | Name | Function |
---|---|---|
[31:5] | VBA | Bits[31:5] of the base address of the low exception vectors. |
[4:0] | - | Reserved. |
Consider using __get_VBAR and __set_VBAR for accessing this register.
__STATIC_INLINE uint32_t __get_VBAR | ( | void | ) |
Get VBAR.
This function returns the value of the Vector Base Address Register.
This function returns the value of the Vector Base Address Register (VBAR).
__STATIC_INLINE void __set_VBAR | ( | uint32_t | vbar | ) |
Set VBAR.
This function assigns the given value to the Vector Base Address Register.
[in] | vbar | Vector Base Address Register value to set |
This function assigns the given value to the Vector Base Address Register (VBAR).