Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
Common tools for ABI middelware. More...
#include "std.h"
#include "math/pprz_algebra_int.h"
#include "math/pprz_algebra_float.h"
#include "subsystems/gps.h"
#include "subsystems/abi_sender_ids.h"
Go to the source code of this file.
Data Structures | |
struct | abi_struct |
Event structure to store callbacks in a linked list. More... | |
Macros | |
#define | ABI_EXTERN extern |
#define | ABI_BROADCAST 255 |
Broadcast address. More... | |
#define | ABI_DISABLE 0 |
Reserved ABI ID to disable callback. More... | |
#define | ABI_FOREACH(head, el) for(el=head; el; el=el->next) |
Macros for linked list. More... | |
#define | ABI_PREPEND(head, add) { (add)->next = head; head = add; } |
Typedefs | |
typedef void(* | abi_callback )(void) |
Generic callback definition. More... | |
typedef struct abi_struct | abi_event |
Common tools for ABI middelware.
Definition in file abi_common.h.
struct abi_struct |
Event structure to store callbacks in a linked list.
Definition at line 65 of file abi_common.h.
Data Fields | ||
---|---|---|
abi_callback | cb | |
uint8_t | id | |
struct abi_struct * | next |
#define ABI_BROADCAST 255 |
Broadcast address.
When binding to an ABI message with broadcast address as a sender id, messages from all senders are received.
Definition at line 56 of file abi_common.h.
Referenced by ahrs_aligner_run(), ahrs_dcm_register(), ahrs_fc_register(), ahrs_float_invariant_register(), ahrs_ice_register(), ahrs_icq_register(), ahrs_mlkf_register(), autopilot_static_init(), gps_init(), ins_float_invariant_wrapper_init(), mag_calib_ukf_init(), and rssi_init().
#define ABI_DISABLE 0 |
Reserved ABI ID to disable callback.
When binding to an ABI message with 0 as sender id, the callback is disabled.
Definition at line 62 of file abi_common.h.
#define ABI_EXTERN extern |
Definition at line 46 of file abi_common.h.
#define ABI_FOREACH | ( | head, | |
el | |||
) | for(el=head; el; el=el->next) |
Macros for linked list.
Definition at line 73 of file abi_common.h.
#define ABI_PREPEND | ( | head, | |
add | |||
) | { (add)->next = head; head = add; } |
Definition at line 74 of file abi_common.h.
typedef void(* abi_callback)(void) |
Generic callback definition.
Definition at line 50 of file abi_common.h.
typedef struct abi_struct abi_event |
Definition at line 70 of file abi_common.h.