FreeRTOS:
Common I/O
AWS IoT Common I/O library
|
Return to main page ↑ |
Define common APIs to get hardware ID and hardware revision. More...
Go to the source code of this file.
Macros | |
#define | IOT_HW_UNSUPPORTED ( 0xFFFF ) |
Error code returned by platform. More... | |
Functions | |
uint16_t | iot_hw_get_id (void) |
API to read hardware ID. More... | |
uint16_t | iot_hw_get_rev (void) |
API to read hardware revision. More... | |
Define common APIs to get hardware ID and hardware revision.
#define IOT_HW_UNSUPPORTED ( 0xFFFF ) |
Error code returned by platform.
We assume that neither hardware ID nor hardware revision number will ever be greater than 255 it means that API is not implemented or supported if API returns 0xFF
uint16_t iot_hw_get_id | ( | void | ) |
API to read hardware ID.
uint16_t iot_hw_get_rev | ( | void | ) |
API to read hardware revision.