English
Language : 

C8051F980-C-GM Datasheet, PDF (154/325 Pages) Silicon Laboratories – Ultra Low Power, 8-2 kB Flash, Capacitive Sensing MCU
C8051F99x-C8051F98x
14.4. Determining the Device Part Number at Run Time
In many applications, user software may need to determine the MCU part number at run time in order to
determine the hardware capabilities. The part number can be determined by reading the value of the
DEVICEID Special Function Register.

The value of the DEVICEID register can be decoded as follows:

0xD0—C8051F990
0xD1—C8051F991
0xD6—C8051F996
0xD2—C8051F997

0xD3—C8051F980
0xD4—C8051F981
0xD5—C8051F982
0xD7—C8051F983
0xD8—C8051F985
0xD9—C8051F986
0xDA—C8051F987
0xDB—C8051F988
0xDC—C8051F989
SFR Definition 14.1. DEVICEID: Device Identification
Bit
7
6
5
4
3
2
1
0
Name
DEVICEID[7:0]
Type
R/W
Reset
0
0
0
0
0
0
0
0
SFR Page = 0xF; SFR Address = 0xE3
Bit
Name
Function
7:0 DEVICEID[7:0] Device Identification.
These bits contain a value that can be decoded to determine the device part
number.
154
Rev. 1.2