| CMSIS-Core (Cortex-A) CMSIS-Core support for Cortex-A processor-based devices |

Loading...
Searching...
No Matches
Content | Data Structures | Functions
Instruction Fault Status Register (IFSR)
Core Register Access

The IFSR holds status information about the last instruction fault. More...

## Content
| IFSR Bits
| Bit position and mask macros.

## Data Structures
struct | IFSR_Type
| Bit field declaration for IFSR layout. More...

## Functions
__STATIC_FORCEINLINE uint32_t | __get_IFSR (void)
| Get IFSR.
__STATIC_FORCEINLINE void | __set_IFSR (uint32_t ifsr)
| Set IFSR.

## Description

The IFSR holds status information about the last instruction fault.

DFSR format when using the Short-descriptor translation table format

Bits | Name | Function
--- | --- | ---
[31:13] | - | Reserved.
[12] | ExT | External abort type.
[11] | - | Reserved.
[10] | FS[4] | Fault status bits.
[9] | LPAE | Large Physical Address Extension.
[8:4] | - | Reserved.
[3:0] | FS[3:0] | Fault status bits.

DFSR format when using the Long-descriptor translation table format

Bits | Name | Function
--- | --- | ---
[31:13] | - | Reserved.
[12] | ExT | External abort type.
[11:10] | - | Reserved.
[9] | LPAE | Large Physical Address Extension.
[8:6] | - | Reserved.
[5:0] | STATUS | Fault status bits.

Consider __get_IFSR and __set_IFSR to access this register.

## Function Documentation

## ◆ __get_IFSR()

__STATIC_INLINE uint32_t __get_IFSR | ( | void |  | ) |

Get IFSR.

Returns
  Instruction Fault Status Register value

This function returns the current value of the Instruction Fault Status Register (IFSR).

## ◆ __set_IFSR()

__STATIC_INLINE void __set_IFSR | ( | uint32_t | ifsr | ) |

Set IFSR.

Parameters

  [in] | ifsr | Instruction Fault Status value to set

This function assigns the given value to the Instruction Fault Status Register (IFSR).