APM:Libraries
Modules | Macros
USB_CONF_Exported_Defines
Collaboration diagram for USB_CONF_Exported_Defines:

Modules

 USB_VCP_Class_Layer_Parameter
 
 USB_CONF_Exported_Types
 
 USB_CONF_Exported_Macros
 
 USB_CONF_Exported_Variables
 
 USB_CONF_Exported_FunctionsPrototype
 

Macros

#define USE_USB_OTG_FS
 
#define USB_OTG_FS_CORE
 
#define RX_FIFO_FS_SIZE   128
 
#define TX0_FIFO_FS_SIZE   64
 
#define TX1_FIFO_FS_SIZE   128
 
#define TX2_FIFO_FS_SIZE   0
 
#define TX3_FIFO_FS_SIZE   0
 
#define USE_DEVICE_MODE
 
#define __ALIGN_BEGIN
 
#define __ALIGN_BEGIN
 
#define __ALIGN_END   = 0
 
#define __ALIGN_END
 
#define MIN(a, b)   (((a)<(b))?(a):(b))
 
#define USBD_CFG_MAX_NUM   1
 
#define USBD_ITF_MAX_NUM   1
 
#define USBD_SELF_POWERED
 
#define USB_MAX_STR_DESC_SIZ   255
 

Detailed Description

Macro Definition Documentation

◆ __ALIGN_BEGIN [1/2]

#define __ALIGN_BEGIN

Definition at line 198 of file usb_conf.h.

◆ __ALIGN_BEGIN [2/2]

#define __ALIGN_BEGIN

Definition at line 198 of file usb_conf.h.

◆ __ALIGN_END [1/2]

__ALIGN_BEGIN uint32_t USBD_cfg_status __ALIGN_END   = 0

Definition at line 199 of file usb_conf.h.

◆ __ALIGN_END [2/2]

#define __ALIGN_END

Definition at line 199 of file usb_conf.h.

◆ MIN

#define MIN (   a,
 
)    (((a)<(b))?(a):(b))

Definition at line 215 of file usb_conf.h.

Referenced by AP_PitchController::_get_rate_out(), AP_RollController::_get_rate_out(), AP_InertialSensor::_init_gyro(), Linux::SPIUARTDriver::_read_fd(), AP_InertialSensor_Invensense::_read_fifo(), AP_TECS::_update_pitch(), AC_WPNav::AC_WPNav(), AP_RCProtocol_Backend::add_input(), AC_Avoid::adjust_velocity(), AC_Avoid::adjust_velocity_circle_fence(), AC_Avoid::adjust_velocity_z(), AC_WPNav::advance_spline_target_along_track(), AC_WPNav::advance_wp_target_along_track(), AC_Loiter::calc_desired_velocity(), AC_Circle::calc_velocities(), NavEKF2_core::calcGpsGoodToAlign(), NavEKF3_core::calcGpsGoodToAlign(), NavEKF2_core::CalcRangeBeaconPosDownOffset(), NavEKF3_core::CalcRangeBeaconPosDownOffset(), AC_WPNav::calculate_wp_leash_length(), check_path(), AP_Param::count_embedded_param_defaults(), AP_GPS_SBP2::distMod(), NavEKF2_core::EstimateTerrainOffset(), NavEKF3_core::EstimateTerrainOffset(), AC_AttitudeControl::euler_accel_limit(), DataFlash_Class::fill_log_write_logstructure(), AC_Loiter::get_angle_max_cd(), AP_MotorsMulticopter::get_current_limit_max_throttle(), AP_InertialSensor::get_delta_angle_dt(), AP_InertialSensor::get_delta_time(), AP_InertialSensor::get_delta_velocity_dt(), AP_Baro::get_external_temperature(), AC_PID_2D::get_i_shrink(), AC_PI_2D::get_i_shrink(), AP_InertialSensor::get_primary_accel_cal_sample_avg(), AC_Avoid::get_proximity_roll_pitch_pct(), RC_Channels::get_radio_in(), AP_GPS::get_rate_ms(), AP_YawController::get_servo_out(), AP_SteerController::get_steering_out_rate(), RC_Channels::get_valid_channel_count(), AP_GPS_MAV::handle_msg(), GCS_MAVLINK::handle_param_request_read(), AP_Param::load_embedded_param_defaults(), DataFlash_Class::Log_Write_GPS(), DataFlash_Class::Log_Write_POS(), AP_GPS_SBP::logging_log_raw_sbp(), AP_GPS_SBP2::logging_log_raw_sbp(), loop(), AP_Mission::mavlink_int_to_mission_cmd(), AC_PolyFence_loader::max_points(), MSC_BOT_SendData(), DataFlash_Class::msg_fmt_for_name(), AP_MotorsMatrix::output_armed_stabilizing(), AP_MotorsCoax::output_armed_stabilizing(), AP_MotorsTri::output_armed_stabilizing(), AP_MotorsSingle::output_armed_stabilizing(), AP_MotorsMulticopter::output_logic(), Linux::RCOutput_Sysfs::read(), ChibiOS::RCOutput::read(), Linux::I2CDevice::read_registers_multiple(), NavEKF2_core::readDeltaAngle(), NavEKF2_core::readDeltaVelocity(), NavEKF2_core::readGpsData(), NavEKF3_core::readGpsData(), AP_InertialSensor::BatchSampler::rotate_to_next_sensor(), AC_PosControl::run_xy_controller(), AC_Loiter::sanity_check_params(), SCSI_ProcessRead(), SCSI_ProcessWrite(), SCSI_Write10(), GCS_MAVLINK::send_meminfo(), AP_Proximity_LightWareSF40C::send_request_for_distance(), AC_PosControl_Sub::set_alt_target_from_climb_rate_ff(), AC_PosControl::set_alt_target_from_climb_rate_ff(), NavEKF2_core::setAidingMode(), NavEKF3_core::setAidingMode(), FlashTest::setup(), NavEKF3_core::setup_core(), AP_InertialSensor::simple_accel_cal(), AP_L1_Control::turn_distance(), AP_SBusOut::update(), AC_Circle::update(), AC_Sprayer::update(), AP_GPS::update(), AP_Proximity_Backend::update_boundary_for_sector(), AP_TECS::update_pitch_throttle(), AP_RangeFinder_Backend::update_pre_arm_check(), AP_BattMonitor_Backend::update_resistance_estimate(), AC_AttitudeControl_Sub::update_throttle_rpy_mix(), AC_AttitudeControl_Multi::update_throttle_rpy_mix(), NavEKF2_core::updateTimingStatistics(), NavEKF3_core::updateTimingStatistics(), usbd_cdc_Setup(), USBD_DataOutStage(), USBD_GetDescriptor(), and ChibiOS::UARTDriver::write_pending_bytes_DMA().

◆ RX_FIFO_FS_SIZE

#define RX_FIFO_FS_SIZE   128

Definition at line 101 of file usb_conf.h.

Referenced by USB_OTG_CoreInitDev(), and USB_OTG_ReadOtgItr().

◆ TX0_FIFO_FS_SIZE

#define TX0_FIFO_FS_SIZE   64

Definition at line 102 of file usb_conf.h.

Referenced by USB_OTG_CoreInitDev().

◆ TX1_FIFO_FS_SIZE

#define TX1_FIFO_FS_SIZE   128

Definition at line 103 of file usb_conf.h.

Referenced by USB_OTG_CoreInitDev().

◆ TX2_FIFO_FS_SIZE

#define TX2_FIFO_FS_SIZE   0

Definition at line 104 of file usb_conf.h.

Referenced by USB_OTG_CoreInitDev().

◆ TX3_FIFO_FS_SIZE

#define TX3_FIFO_FS_SIZE   0

Definition at line 105 of file usb_conf.h.

Referenced by USB_OTG_CoreInitDev().

◆ USB_MAX_STR_DESC_SIZ

#define USB_MAX_STR_DESC_SIZ   255

Definition at line 43 of file usbd_conf.h.

◆ USB_OTG_FS_CORE

#define USB_OTG_FS_CORE

Definition at line 60 of file usb_conf.h.

◆ USBD_CFG_MAX_NUM

#define USBD_CFG_MAX_NUM   1

Definition at line 38 of file usbd_conf.h.

Referenced by USBD_SetConfig().

◆ USBD_ITF_MAX_NUM

#define USBD_ITF_MAX_NUM   1

Definition at line 39 of file usbd_conf.h.

Referenced by usbd_cdc_Setup(), and USBD_StdItfReq().

◆ USBD_SELF_POWERED

#define USBD_SELF_POWERED

Definition at line 41 of file usbd_conf.h.

◆ USE_DEVICE_MODE

#define USE_DEVICE_MODE

Definition at line 114 of file usb_conf.h.

◆ USE_USB_OTG_FS

#define USE_USB_OTG_FS

Definition at line 56 of file usb_conf.h.