APM:Libraries
Classes | Macros | Variables
I2CDevice.cpp File Reference
#include "I2CDevice.h"
#include <AP_HAL/AP_HAL.h>
#include <AP_Math/AP_Math.h>
#include "Util.h"
#include "Scheduler.h"
#include "ch.h"
#include "hal.h"
Include dependency graph for I2CDevice.cpp:

Go to the source code of this file.

Classes

struct  I2CInfo
 

Macros

#define HAL_I2C_BUS_BASE   0
 
#define HAL_I2C_MAX_CLOCK   100000
 
#define HAL_I2C_F7_100_TIMINGR   0x20404768
 
#define HAL_I2C_F7_400_TIMINGR   0x6000030D
 

Variables

static const struct I2CInfo I2CD [] = { HAL_I2C_DEVICE_LIST }
 
const AP_HAL::HALhal
 

Macro Definition Documentation

◆ HAL_I2C_BUS_BASE

#define HAL_I2C_BUS_BASE   0

◆ HAL_I2C_F7_100_TIMINGR

#define HAL_I2C_F7_100_TIMINGR   0x20404768

◆ HAL_I2C_F7_400_TIMINGR

#define HAL_I2C_F7_400_TIMINGR   0x6000030D

Definition at line 50 of file I2CDevice.cpp.

Referenced by ChibiOS::I2CDeviceManager::I2CDeviceManager().

◆ HAL_I2C_MAX_CLOCK

#define HAL_I2C_MAX_CLOCK   100000

Definition at line 45 of file I2CDevice.cpp.

Referenced by ChibiOS::I2CDeviceManager::I2CDeviceManager().

Variable Documentation

◆ hal

const AP_HAL::HAL& hal

Definition at line 14 of file AC_PID_test.cpp.

◆ I2CD

const struct I2CInfo I2CD[] = { HAL_I2C_DEVICE_LIST }
static