|
C8051F99X_10 Datasheet, PDF (153/322 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.
Rev. 1.0
153
|
▷ |