2.88.5 RAM_ECC_SingleBitFaultInject Function
C
void RAM_ECC_SingleBitFaultInject(uint32_t fltaddr, uint8_t fltBitPtr)
Summary
Injects a single-bit fault at a specified address and bit position in the RAM for testing error detection.
Description
This function takes a fault address and a fault bit pointer as parameters and injects a single-bit fault at the specified address and bit position in the RAM. The fault bit pointer specifies the exact bit within the address where the fault will be injected.
Precondition
None
Parameters
Param | Description |
---|---|
fltaddr | The address in the RAM where the single-bit fault will be injected. |
fltBitPtr | The bit position within the address to inject the fault. |
Returns
None
Example
// Inject a single-bit fault at the specified address and bit position RAM_ECC_SingleBitFaultInject(0x1000, 0);