STC15W408AS library 0.9.0
Macros | Functions
chip_id.h File Reference
#include <stdint.h>
#include <sys.h>
Include dependency graph for chip_id.h:

Go to the source code of this file.

Macros

#define CHIP_ID_SIZE   7
 Size of chip id array. More...
 
#define CHIP_ID_ADDR_ROM   0x1ff9
 Chip id address in flash memory.
 
#define get_chipid(cid)
 Get chip id as array. Array size is ID_SIZE. More...
 

Functions

__code __at (CHIP_ID_ADDR_ROM) uint8_t chip_id
 First byte of chip id in flash. More...