VMX-pi C++ HAL Library for Raspberry Pi
VMX-pi Robotics Controller & Vision/Motion Processor
Public Types | Public Member Functions | Public Attributes | List of all members
InputCaptureConfigBase Struct Reference
Inheritance diagram for InputCaptureConfigBase:
VMXResourceConfig EncoderConfig InputCaptureConfig PWMCaptureConfig

Public Types

enum  CaptureChannel { CH1, CH2 }
 

Public Member Functions

 InputCaptureConfigBase (VMXResourceType resource_type)
 
void SetStallTimeout20MsPeriods (uint8_t stall_timeout_20ms_periods)
 
uint8_t GetStallTimeout20MsPeriods ()
 
void SetCaptureChannelFilter (CaptureChannel capture_channel, uint8_t filter)
 
uint8_t GetCaptureChannelFilter (CaptureChannel capture_channel)
 
uint8_t GetClosestCaptureChannelFilter (uint32_t period_nanoseconds)
 
uint8_t GetClosestCaptureCaptureFilterNumSamples (uint32_t num_samples)
 
uint32_t GetCaptureChannelFilterPeriodNanoseconds (uint8_t filter)
 
uint32_t GetCaptureChannelFilterNumSamples (uint8_t filter)
 
- Public Member Functions inherited from VMXResourceConfig
 VMXResourceConfig (VMXResourceType res_type)
 
VMXResourceType GetResourceType () const
 VMXResourceType which this configuration applies to.
 
virtual size_t GetSize () const =0
 
virtual VMXResourceConfigGetCopy () const =0
 Instantiates a copy of the configuration data. More...
 
virtual bool Copy (const VMXResourceConfig *p_config)=0
 Copies the contents of the source VMXResourceConfig object into this object. More...
 

Public Attributes

uint8_t capture_channel_filter [2]
 
uint8_t stall_timeout_20ms_periods
 
- Public Attributes inherited from VMXResourceConfig
VMXResourceType res_type
 

The documentation for this struct was generated from the following file: