[][src]Function app::touch_sensor::read_touchdata

fn read_touchdata(data: &mut TouchEventInfo) -> MynewtResult<()>

Read touch controller data. This only works when the screen has been tapped and the touch controller wakes up. Ported from https://github.com/lupyuen/hynitron_i2c_cst0xxse/blob/master/cst0xx_core.c#L407-L466