Implement am7xxx_get_device_info()
authorAntonio Ospite <ospite@studenti.unina.it>
Wed, 25 Jan 2012 14:26:44 +0000 (15:26 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Wed, 25 Jan 2012 14:57:30 +0000 (15:57 +0100)
commit48aab112af60be0f18c0e6fbf1534415af445a8f
tree43b845b52c14f259191d8bdd675f3dc97bc412fd
parentb9376b1fd2f4e3bd5870e6bb43c523e4b6c297d8
Implement am7xxx_get_device_info()

Add support for packet type 0x01, which can be used to query device
information like the native width and native height.

Introduce also read_data(), read_header(), unserialize_header()
which are needed by am7xxx_get_device_info()
src/am7xxx.c
src/am7xxx.h
src/picoproj.c