Table of Contents

BreakoutButtonState

Specifies the state of the ONIX breakout board's switches and buttons.

Fields

Field & Value Description
Moon = 1

Specifies that the ☾ key is depressed.

Triangle = 2

Specifies that the △ key is depressed.

X = 4

Specifies that the × key is depressed.

Check = 8

Specifies that the ✓ key is depressed.

Circle = 16

Specifies that the ◯ key is depressed.

Square = 32

Specifies that the □ key is depressed.

Reserved0 = 64

Specifies that reserved bit 0 is high.

Reserved1 = 128

Specifies that reserved bit 1 is high.

PortDOn = 256

Specifies that port D power switch is set to on.

PortCOn = 512

Specifies that port C power switch is set to on.

PortBOn = 1024

Specifies that port B power switch is set to on.

PortAOn = 2048

Specifies that port A power switch is set to on.