@CHIP-RTOS C Library - Hardware API
hal_install_pfaildone_callback
Install powerfaildone callback. void hal_install_pfaildone_callback (InterruptHandler pfaildone_callback); Parameters
pfaildone_callback
- Pointer to callback function.
Return Value
- none
Comments
- Install a callback for the event "Powerfail is Done".
The callback is executed after all Powerfail actions
are finished.
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).
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
| SC12 | SC13 | SC11 | SC1x3 | SC2x |
-
| V1.21 | V1.21 | V1.21 | V1.10 | V1.00 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|