User's Manual

User Guide ELO-KIT-ECMG2-AND
UM600069 Rev A, Page 16 of 26
onBCR_StateChange
Refer to Table 3-2
Notify the application about the BCR status change data
onGPIO_StateChange
Refer to Table 3-2
Notify the application about the GPIOs status change data
BCR state
value
ELOPeripheralManager.BCR_STATE_DEVICE_CONNECTION
1 << 0
ELOPeripheralManager.BCR_STATE_DEVICE_DISCONNECTION
1 << 1
ELOPeripheralManager.BCR_STATE_DATA_RECEIVIED
1 << 2
ELOPeripheralManager.BCR_STATE_PIN_AUTO_DISABLE
1 << 3
GPIO state
value
ELOPeripheralManager.GPIO_STATE_HIGH
1 << 4
ELOPeripheralManager.GPIO_STATE_LOW
1 << 5
GPIO data
gpio81
gpio82
Table 3-2