Skip to main content

List of Registers

There are 64 user 16-bit registers, addressed from R00 to R3F. These registers can be accessed using register read/write instructions.

tip

Some registers are used dedicatedly for keeping values from specific sensors or internal functions.

For instance,

  • R24~R27 store the conversion result of analog input channels AIN0~AIN3 if AD Conversion function is enabled;
  • R31~R33 store the detected R/G/B components of the color sensor if color sensor TCS34725 is enabled.
note

Run-time values of all registers are shown on page 4~7 on the secondary display.

Index​

R00~R0F​

RegisterFunction
R00Register for comparison at run-time
R01~R0FUser registers

R10~R1F​

RegisterFunction
R10~R1FUser registers

R20~R2F​

RegisterFunction
R20~R21User registers
R22State of digital inputs
R23Flag register of timer
R24Analog input AIN0
R25Analog input AIN1
R26Analog input AIN2
R27Analog input AIN3
R28Peripheral enables
R29~R2BAccelerometer X/Y/Z
R2C~R2EGyroscope X/Y/Z
R2FTemperature

R30~R3F​

RegisterFunction
R30Humidity
R31~R33R/G/B components of color detection sensor
R34~R37System reserved
R38~R3AYear/Month/Date
R3BDay of week
R3C~R3EHour/Minute/Second
R3FState of user input keys