PebbleOS
Loading...
Searching...
No Matches
Functions
QEMU accelerometer

Accelerometer fed with samples from the QEMU host. More...

Functions

void qemu_accel_msg_callback (const uint8_t *data, uint32_t len)
 Handle a QemuProtocol_Accel message from the host.
 

Detailed Description

Accelerometer fed with samples from the QEMU host.

Function Documentation

◆ qemu_accel_msg_callback()

void qemu_accel_msg_callback ( const uint8_t *  data,
uint32_t  len 
)

Handle a QemuProtocol_Accel message from the host.

Called by the QEMU host channel.

Parameters
dataMessage payload, a QemuProtocolAccelHeader followed by the samples.
lenLength of data in bytes.