@CHIP-RTOS C Library - Hardware API
Install powerfaildone callback.
void hal_install_pfaildone_callback (InterruptHandler pfaildone_callback);
- Pointer to callback function.
- Install a callback for the event "Powerfail is Done".
The callback is executed after all Powerfail actions
This means that the user non-volatile data has been
written and the file sytem closed.
The user can toggle a PIO inside this callback and measure the
time from Powerfail (PFI/NMI) to this event.
The time to close the file system depends on the number of open
files and on which drive these files are located
(speed of the drive).
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
for more details.
Supported since or modified in @CHIP-RTOS version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document