Commit | Line | Data |
---|---|---|
9c66c9ff JM |
1 | #ifndef DEVICE_INFO_H |
2 | #define DEVICE_INFO_H | |
3 | ||
4 | typedef struct device_info { | |
5 | uint16_t id; | |
6 | uint16_t mask; | |
7 | const char *name; | |
8 | uint16_t memsize; | |
9 | uint8_t rowsize; | |
10 | } devid_t; | |
11 | ||
12 | const char *devidtoname(uint16_t devid); | |
13 | const devid_t * devid_to_info(uint16_t devid); | |
14 | ||
15 | #endif |