ao_sys_id.h
System IDs

Include

xc.h

Functions

ao_sys_id_device

#define ao_sys_id_device() \
(                          \
    DEVIDbits.DEVID        \
)

Gets the 28-bit device ID.

ao_sys_id_revision

#define ao_sys_id_revision() \
(                            \
    DEVIDbits.VER            \
)

Gets the 4-bit revision ID.

ao_sys_id_user

#define ao_sys_id_user() \
(                        \
    DEVCFG3bits.USERID   \
)

Gets the configured 16-bit user ID.