1.7 KiB
1.7 KiB
List of FURI records for exchange data between applications.
Interrupts
/irq/buttons
— raw button press/release events.
Name | Type | Size |
---|---|---|
Button | 0 — Up 1 — Down 2 — Right 3 — Left 4 — Ok 5 — Back |
1 |
State | 1 — pressed 0 — released |
1 |
/irq/charge
— charge state event
UI
Name | Type | Size |
---|---|---|
State | 1 — charge start 0 — charge stop |
1 |
/ui/fb
— pointer to current framebuffer
Name | Type | Size |
---|---|---|
Framebuffer pointer | uint8_t[DISPLAY_WIDTH][DISPAY_HEIGHT] |
4 |
/ui/leds
— user led state
Led state is overrided by charge state (red when charging, green when charged).
Name | Type | Size |
---|---|---|
Red | pwm value (0..255) | 1 |
Green | pwm value (0..255) | 1 |
Blue | pwm value (0..255) | 1 |
Enable | 1 — user led enabled 0 — user led disabled (for manual led control) |
1 |
/ui/buttons_event
— button press/release events after debounce.
Name | Type | Size |
---|---|---|
Button | 0 — Up 1 — Down 2 — Right 3 — Left 4 — Ok 5 — Back |
1 |
State | 1 — pressed 0 — released |
1 |
/ui/buttons_state
— current button state after debounce.
Name | Type | Size |
---|---|---|
Up | 1 — pressed 0 — released |
1 |
Down | 1 — pressed 0 — released |
1 |
Right | 1 — pressed 0 — released |
1 |
Left | 1 — pressed 0 — released |
1 |
Ok | 1 — pressed 0 — released |
1 |
Back | 1 — pressed 0 — released |
1 |
/ui/fullscreen
— fullscreen mode state
Name | Type | Size |
---|---|---|
State | 1 — fullscreen 0 — no fullscreen |
1 |