1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight
stac e3824a6d78 ahrs spi: Add AHRS SPI link management FSM
To the outside world, the AHRS can be in one of only a few
primary states:
 Not present - AHRS is absent or non-responsive via SPI
 Inactive - Only link-level status messages are processed
 Ready - Ready to receive the next application level message
 Busy - Application level message is being processed

Internal to the AHRS, there are many more states that need to be
managed.  This FSM provides the necessary decoupling between the
ISR (which is being driven by the SPI link) and the AHRS main
processing loop which must continue to run its filters independently
of the SPI messaging rate.

With this structure, SPI messages can be received at any time but
processed at only specific points within the filter chains.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1005 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:22 +00:00
..
AHRS ahrs spi: Add AHRS SPI link management FSM 2010-07-04 02:21:22 +00:00
Bootloaders/OpenPilot Small optimisations in bootloader code. 2010-03-14 12:01:13 +00:00
Doc ahrs spi: Add AHRS SPI link management FSM 2010-07-04 02:21:22 +00:00
OpenPilot ahrs spi: Add definition of OP<->AHRS SPI protocol 2010-07-04 02:21:15 +00:00
OpenPilot.posix - renamed PiOS.x86 into PiOS.posix 2010-07-03 21:50:13 +00:00
PiOS ahrs spi: Add definition of OP<->AHRS SPI protocol 2010-07-04 02:21:15 +00:00
PiOS.posix - renamed PiOS.x86 into PiOS.posix 2010-07-03 21:50:13 +00:00
Project openocd: support OP and AHRS at the same time 2010-06-13 04:22:30 +00:00
README.txt Says all it needs to say for now. 2009-12-22 05:07:27 +00:00

Check the wiki