This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
projects:crazyflie:firmware:log [2012-10-07 15:44] arnaud [Crazyflie LOG subsystem] |
projects:crazyflie:firmware:log [2012-10-08 07:05] arnaud [Log control] |
||
---|---|---|---|
Line 14: | Line 14: | ||
^ **Port** | ^ **Port** | ||
- | | | + | | |
- | | | + | | |
- | | | + | | |
==== Table of content access ==== | ==== Table of content access ==== | ||
Line 87: | Line 87: | ||
| LOG_MAX_PACKET | Maximum number of log packets that can be programmed in the copter | | | LOG_MAX_PACKET | Maximum number of log packets that can be programmed in the copter | | ||
| LOG_MAX_OPS | | LOG_MAX_OPS | ||
+ | |||
+ | ==== Log control ==== | ||
+ | |||
+ | The log control channel permits to setup, activate, deactivate and remove log packets. Like the TOC access channel the first data byte represents a command. | ||
+ | |||
+ | ^ Control command byte ^ Command | ||
+ | | 0 | CREATE_BLOCK | ||
+ | | 1 | APPEND_BLOCK | ||
+ | | 2 | DELETE_BLOCK | ||
+ | | 3 | START_BLOCK | ||
+ | | 4 | STOP_BLOCK | ||