Apollo  6.0
Open source self driving car software
Public Member Functions | Static Public Attributes | List of all members
apollo::canbus::wey::Ads338e Class Reference

#include <ads3_38e.h>

Inheritance diagram for apollo::canbus::wey::Ads338e:
Inheritance graph
Collaboration diagram for apollo::canbus::wey::Ads338e:
Collaboration graph

Public Member Functions

 Ads338e ()
 
uint32_t GetPeriod () const override
 
void UpdateData (uint8_t *data) override
 
void Reset () override
 
Ads338eset_ads_bcm_worksts (Ads3_38e::Ads_bcm_workstsType ads_bcm_worksts)
 
Ads338eset_ads_bcmworkstsvalid (Ads3_38e::Ads_bcmworkstsvalidType ads_bcmworkstsvalid)
 
Ads338eset_ads_reqcontrolbcm (Ads3_38e::Ads_reqcontrolbcmType ads_reqcontrolbcm)
 
Ads338eset_highbeamton (Ads3_38e::HighbeamtonType highbeamton)
 
Ads338eset_dippedbeamon (Ads3_38e::DippedbeamonType dippedbeamon)
 
Ads338eset_turnllighton (Ads3_38e::TurnllightonType turnllighton)
 
Ads338eset_emergencylighton (Ads3_38e::EmergencylightonType emergencylighton)
 
Ads338eset_ffoglampon (Ads3_38e::FfoglamponType ffoglampon)
 
Ads338eset_rfoglampon (Ads3_38e::RfoglamponType rfoglampon)
 
Ads338eset_brakelight (Ads3_38e::BrakelightType brakelight)
 
Ads338eset_hornon (Ads3_38e::HornonType hornon)
 
Ads338eset_fwindshieldwiper (Ads3_38e::FwindshieldwiperType fwindshieldwiper)
 
Ads338eset_rwindshieldwiper (Ads3_38e::RwindshieldwiperType rwindshieldwiper)
 
- Public Member Functions inherited from apollo::drivers::canbus::ProtocolData< ::apollo::canbus::ChassisDetail >
 ProtocolData ()=default
 construct protocol data. More...
 
virtual ~ProtocolData ()=default
 destruct protocol data. More...
 
virtual int32_t GetLength () const
 
virtual void Parse (const uint8_t *bytes, int32_t length, ::apollo::canbus::ChassisDetail *sensor_data) const
 

Static Public Attributes

static const int32_t ID
 

Additional Inherited Members

- Static Public Member Functions inherited from apollo::drivers::canbus::ProtocolData< ::apollo::canbus::ChassisDetail >
static std::uint8_t CalculateCheckSum (const uint8_t *input, const uint32_t length)
 static function, used to calculate the checksum of input array. More...
 
static T BoundedValue (T lower, T upper, T val)
 

Constructor & Destructor Documentation

◆ Ads338e()

apollo::canbus::wey::Ads338e::Ads338e ( )

Member Function Documentation

◆ GetPeriod()

uint32_t apollo::canbus::wey::Ads338e::GetPeriod ( ) const
overridevirtual

◆ Reset()

void apollo::canbus::wey::Ads338e::Reset ( )
overridevirtual

◆ set_ads_bcm_worksts()

Ads338e* apollo::canbus::wey::Ads338e::set_ads_bcm_worksts ( Ads3_38e::Ads_bcm_workstsType  ads_bcm_worksts)

◆ set_ads_bcmworkstsvalid()

Ads338e* apollo::canbus::wey::Ads338e::set_ads_bcmworkstsvalid ( Ads3_38e::Ads_bcmworkstsvalidType  ads_bcmworkstsvalid)

◆ set_ads_reqcontrolbcm()

Ads338e* apollo::canbus::wey::Ads338e::set_ads_reqcontrolbcm ( Ads3_38e::Ads_reqcontrolbcmType  ads_reqcontrolbcm)

◆ set_brakelight()

Ads338e* apollo::canbus::wey::Ads338e::set_brakelight ( Ads3_38e::BrakelightType  brakelight)

◆ set_dippedbeamon()

Ads338e* apollo::canbus::wey::Ads338e::set_dippedbeamon ( Ads3_38e::DippedbeamonType  dippedbeamon)

◆ set_emergencylighton()

Ads338e* apollo::canbus::wey::Ads338e::set_emergencylighton ( Ads3_38e::EmergencylightonType  emergencylighton)

◆ set_ffoglampon()

Ads338e* apollo::canbus::wey::Ads338e::set_ffoglampon ( Ads3_38e::FfoglamponType  ffoglampon)

◆ set_fwindshieldwiper()

Ads338e* apollo::canbus::wey::Ads338e::set_fwindshieldwiper ( Ads3_38e::FwindshieldwiperType  fwindshieldwiper)

◆ set_highbeamton()

Ads338e* apollo::canbus::wey::Ads338e::set_highbeamton ( Ads3_38e::HighbeamtonType  highbeamton)

◆ set_hornon()

Ads338e* apollo::canbus::wey::Ads338e::set_hornon ( Ads3_38e::HornonType  hornon)

◆ set_rfoglampon()

Ads338e* apollo::canbus::wey::Ads338e::set_rfoglampon ( Ads3_38e::RfoglamponType  rfoglampon)

◆ set_rwindshieldwiper()

Ads338e* apollo::canbus::wey::Ads338e::set_rwindshieldwiper ( Ads3_38e::RwindshieldwiperType  rwindshieldwiper)

◆ set_turnllighton()

Ads338e* apollo::canbus::wey::Ads338e::set_turnllighton ( Ads3_38e::TurnllightonType  turnllighton)

◆ UpdateData()

void apollo::canbus::wey::Ads338e::UpdateData ( uint8_t *  data)
overridevirtual

Member Data Documentation

◆ ID

const int32_t apollo::canbus::wey::Ads338e::ID
static

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