2.88.14 RAM_ECC_DoubleBitFaultInject Function
C
void RAM_ECC_DoubleBitFaultInject(uint32_t fltaddr, uint8_t flt1BitPtr, uint8_t flt2BitPtr)
Summary
Injects a double-bit fault at specified address and bit positions in the RAM.
Description
This function takes a fault address and two fault bit positions as parameters, and injects a double-bit fault at the specified address in the RAM.
Precondition
None
Parameters
Param | Description |
---|---|
fltaddr | The address in the RAM where the double-bit fault will be injected. |
flt1BitPtr | The bit position within the address for the first fault bit to be injected. |
flt2BitPtr | The bit position within the address for the second fault bit to be injected. |
Returns
None
Example
// Inject a double-bit fault at the specified address and bit positions RAM_ECC_DoubleBitFaultInject(0x1000, 0, 1);