APM:Libraries
|
Go to the source code of this file.
Macros | |
#define | __ap_bitwise |
#define | __ap_force |
#define | bswap_16_on_le(x) __bswap_16(x) |
#define | bswap_32_on_le(x) __bswap_32(x) |
#define | bswap_64_on_le(x) __bswap_64(x) |
#define | bswap_16_on_be(x) (x) |
#define | bswap_32_on_be(x) (x) |
#define | bswap_64_on_be(x) (x) |
Typedefs | |
typedef uint16_t __ap_bitwise | le16_t |
typedef uint16_t __ap_bitwise | be16_t |
typedef uint32_t __ap_bitwise | le32_t |
typedef uint32_t __ap_bitwise | be32_t |
typedef uint64_t __ap_bitwise | le64_t |
typedef uint64_t __ap_bitwise | be64_t |
Functions | |
static le16_t | htole16 (uint16_t value) |
static le32_t | htole32 (uint32_t value) |
static le64_t | htole64 (uint64_t value) |
static be16_t | htobe16 (uint16_t value) |
static be32_t | htobe32 (uint32_t value) |
static be64_t | htobe64 (uint64_t value) |
static uint16_t | le16toh (le16_t value) |
static uint32_t | le32toh (le32_t value) |
static uint64_t | le64toh (le64_t value) |
static uint16_t | be16toh (be16_t value) |
static uint32_t | be32toh (be32_t value) |
static uint64_t | be64toh (be64_t value) |
#define __ap_bitwise |
Definition at line 31 of file sparse-endian.h.
#define __ap_force |
Definition at line 59 of file sparse-endian.h.
#define bswap_16_on_le | ( | x | ) | __bswap_16(x) |
Definition at line 56 of file sparse-endian.h.
Definition at line 60 of file sparse-endian.h.
#define bswap_32_on_le | ( | x | ) | __bswap_32(x) |
Definition at line 57 of file sparse-endian.h.
Definition at line 61 of file sparse-endian.h.
#define bswap_64_on_le | ( | x | ) | __bswap_64(x) |
Definition at line 58 of file sparse-endian.h.
typedef uint16_t __ap_bitwise be16_t |
Definition at line 36 of file sparse-endian.h.
typedef uint32_t __ap_bitwise be32_t |
Definition at line 38 of file sparse-endian.h.
typedef uint64_t __ap_bitwise be64_t |
Definition at line 40 of file sparse-endian.h.
typedef uint16_t __ap_bitwise le16_t |
Definition at line 35 of file sparse-endian.h.
typedef uint32_t __ap_bitwise le32_t |
Definition at line 37 of file sparse-endian.h.
typedef uint64_t __ap_bitwise le64_t |
Definition at line 39 of file sparse-endian.h.
|
inlinestatic |
Definition at line 83 of file sparse-endian.h.
Referenced by Linux::RCOutput_AeroIO::_hw_read(), Linux::RCOutput_Bebop::_run_rcout(), AP_ADC_ADS1115::_update(), AP_RangeFinder_LightWareI2C::get_reading(), AP_RangeFinder_MaxsonarI2CXL::get_reading(), Linux::RCOutput_Bebop::read_obs_data(), AP_Airspeed_MS5525::read_prom(), AP_RangeFinder_VL53L0X::read_register16(), and AP_RangeFinder_PulsedLightLRF::timer().
|
inlinestatic |
Definition at line 84 of file sparse-endian.h.
Referenced by Linux::RCOutput_Bebop::_run_rcout().
|
inlinestatic |
Definition at line 85 of file sparse-endian.h.
|
inlinestatic |
Definition at line 75 of file sparse-endian.h.
Referenced by Linux::RCOutput_AeroIO::_hw_read(), Linux::RCOutput_AeroIO::_hw_write(), Linux::RCOutput_Bebop::_set_ref_speed(), AP_ADC_ADS1115::_start_conversion(), and Linux::RCOutput_Bebop::play_note().
|
inlinestatic |
Definition at line 76 of file sparse-endian.h.
|
inlinestatic |
Definition at line 77 of file sparse-endian.h.
|
inlinestatic |
Definition at line 71 of file sparse-endian.h.
|
inlinestatic |
Definition at line 72 of file sparse-endian.h.
|
inlinestatic |
Definition at line 73 of file sparse-endian.h.
|
inlinestatic |
Definition at line 79 of file sparse-endian.h.
Referenced by Linux::RCInput_SoloLink::_check_hdr(), AP_Compass_BMM150::_load_trim_values(), AP_InertialSensor_BMI160::_read_fifo(), Linux::RCInput_SoloLink::_timer_tick(), AP_Compass_BMM150::_update(), AP_Compass_IST8310::timer(), and AP_Compass_QMC5883L::timer().
|
inlinestatic |
Definition at line 80 of file sparse-endian.h.
|
inlinestatic |
Definition at line 81 of file sparse-endian.h.