|
Muteki
EABI code execution on Besta® RTOS devices.
|
Device identification and information utilities. More...
#include "common.h"Go to the source code of this file.
Data Structures | |
| struct | id_device_info_s |
| Device info. More... | |
Typedefs | |
| typedef struct id_device_info_s | id_device_info_t |
| Device info. | |
Enumerations | |
| enum | id_device_feature_mask_e { DEVICE_FEATURE_NO_TOUCH_PANEL = 0x0001 , DEVICE_FEATURE_NO_HW_KEYBOARD = 0x0002 , DEVICE_FEATURE_NO_FKEY = 0x0008 } |
| Hardware feature masks. More... | |
Functions | |
| id_device_info_t * | GetMasterIDInfo (id_device_info_t *out_info) |
| Read the device info. | |
| size_t | GetMasterSerialNumber (char serial_out[17]) |
| Read the device serial number. | |
Device identification and information utilities.
Hardware feature masks.
A bit 1 means that the corresponding hardware feature is NOT present on the device.
| id_device_info_t * GetMasterIDInfo | ( | id_device_info_t * | out_info | ) |
Read the device info.
| out_info | Pointer to the output device info struct. |
out_info if successful, NULL if not. | size_t GetMasterSerialNumber | ( | char | serial_out[17] | ) |
Read the device serial number.
| serial_out | Output buffer that will hold the serial number. |