![]() |
0.01.00
|
This file includes platform abstractions for miscellaneous behaviors. More...
Go to the source code of this file.
Enumerations | |
enum | otPlatResetReason { OT_PLAT_RESET_REASON_POWER_ON = 0, OT_PLAT_RESET_REASON_EXTERNAL = 1, OT_PLAT_RESET_REASON_SOFTWARE = 2, OT_PLAT_RESET_REASON_FAULT = 3, OT_PLAT_RESET_REASON_CRASH = 4, OT_PLAT_RESET_REASON_ASSERT = 5, OT_PLAT_RESET_REASON_OTHER = 6, OT_PLAT_RESET_REASON_UNKNOWN = 7, OT_PLAT_RESET_REASON_WATCHDOG = 8, OT_PLAT_RESET_REASON_COUNT } |
Enumeration of possible reset reason codes. More... | |
Functions | |
void | otPlatReset (otInstance *aInstance) |
This function performs a software reset on the platform, if supported. More... | |
otPlatResetReason | otPlatGetResetReason (otInstance *aInstance) |
This function returns the reason for the last platform reset. More... | |
void | otPlatAssertFail (const char *aFilename, int aLineNumber) |
This function provides a platform specific implementation for assert. More... | |
void | otPlatWakeHost (void) |
This function performs a platform specific operation to wake the host MCU. More... | |
This file includes platform abstractions for miscellaneous behaviors.