Follow this link to skip to the main content

claraty::AI_impl Class Reference
[Hardware Package]

#include <analog_in_impl.h>

Inheritance diagram for claraty::AI_impl:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void set_scan_mode (int scan_mode, int int_mode, int timer_mode, int conv_time=-1, int timer_prescaler=-1)
virtual void set_start_end_channels (int start_ch, int end_ch)
virtual void conv_start ()
virtual void conv_wait ()
virtual int conv_read (int channel)
virtual void conv_stop ()
virtual void set_ch_gain (int channel, int gain_index)
virtual void calibrate ()
virtual float get_gain_for_V (int channel)
virtual float get_offset_for_V (int channel)
virtual int input (int channel)=0

Detailed Description

Analog input implementation.

Definition at line 55 of file analog_in_impl.h.


Member Function Documentation

virtual void claraty::AI_impl::set_scan_mode ( int  scan_mode,
int  int_mode,
int  timer_mode,
int  conv_time = -1,
int  timer_prescaler = -1 
) [inline, virtual]

Definition at line 60 of file analog_in_impl.h.

00061                                                   {}

virtual void claraty::AI_impl::set_start_end_channels ( int  start_ch,
int  end_ch 
) [inline, virtual]

Definition at line 62 of file analog_in_impl.h.

00062 {}

virtual void claraty::AI_impl::conv_start (  )  [inline, virtual]

Definition at line 63 of file analog_in_impl.h.

00063 {}

virtual void claraty::AI_impl::conv_wait (  )  [inline, virtual]

Definition at line 64 of file analog_in_impl.h.

00064 {}

virtual int claraty::AI_impl::conv_read ( int  channel  )  [inline, virtual]

Definition at line 65 of file analog_in_impl.h.

00065 {}

virtual void claraty::AI_impl::conv_stop (  )  [inline, virtual]

Definition at line 66 of file analog_in_impl.h.

00066 {}

virtual void claraty::AI_impl::set_ch_gain ( int  channel,
int  gain_index 
) [inline, virtual]

Definition at line 68 of file analog_in_impl.h.

00068 {}

virtual void claraty::AI_impl::calibrate (  )  [inline, virtual]

Definition at line 69 of file analog_in_impl.h.

00069 {}

virtual float claraty::AI_impl::get_gain_for_V ( int  channel  )  [inline, virtual]

Definition at line 71 of file analog_in_impl.h.

Referenced by claraty::AI::set_gain_for_V().

00071 {return 0.;}    // unit in V

virtual float claraty::AI_impl::get_offset_for_V ( int  channel  )  [inline, virtual]

Definition at line 72 of file analog_in_impl.h.

Referenced by claraty::AI::set_offset_for_V().

00072 {return 0.;}    // unit in V

virtual int claraty::AI_impl::input ( int  channel  )  [pure virtual]

Implemented in claraty::AI_impl_null.

Referenced by claraty::AI::input().


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