mbed library for STMicroelectronics' X-NUCLEO-IKA01A1 expansion board.

Dependents:   HelloWorld_IKA01A1

Fork of X_NUCLEO_IKA01A1 by ST Expansion SW Team

Embed: (wiki syntax)

« Back to documentation index

TSZ124 Class Reference

TSZ124 Class Reference

Class representing a TSZ124 operational amplifier component. More...

#include <TSZ124.h>

Inherits InstrumentationAmp.

Public Member Functions

 TSZ124 (PinName instrumentAmpPin, PinName currentSensorPin)
 Constructor.
virtual ~TSZ124 (void)
 Destructor.
virtual int init (void *init=NULL)
 Public functions inherited from the Component Class.
virtual int read_id (uint8_t *id=NULL)
 obtain component ID for TSZ124 perational amplifier
virtual unsigned int get_voltage (void)
 Public functions inherited from the InstrumentationAmp Class.
virtual unsigned int get_current (void)
 obtain the current consumed by the application in Current sensing configuration

Detailed Description

Class representing a TSZ124 operational amplifier component.

Definition at line 83 of file TSZ124.h.


Constructor & Destructor Documentation

TSZ124 ( PinName  instrumentAmpPin,
PinName  currentSensorPin 
)

Constructor.

Definition at line 92 of file TSZ124.h.

virtual ~TSZ124 ( void   ) [virtual]

Destructor.

Definition at line 101 of file TSZ124.h.


Member Function Documentation

virtual unsigned int get_current ( void   ) [virtual]

obtain the current consumed by the application in Current sensing configuration

Return values:
currentconsumed by the application in Current sensing configuration

Implements InstrumentationAmp.

Definition at line 169 of file TSZ124.h.

virtual unsigned int get_voltage ( void   ) [virtual]

Public functions inherited from the InstrumentationAmp Class.

obtain the amplified differential voltage in instrumentation Amplifier configuration

Return values:
amplifieddifferential voltage in instrumentation Amplifier configuration

Implements InstrumentationAmp.

Definition at line 158 of file TSZ124.h.

virtual int init ( void *  init = NULL ) [virtual]

Public functions inherited from the Component Class.

initialize class for TSZ124 operational amplifier component

Return values:
COMPONENT_OKif initialization is successfull
suitableerror code otherwise

Implements Component.

Definition at line 136 of file TSZ124.h.

virtual int read_id ( uint8_t *  id = NULL ) [virtual]

obtain component ID for TSZ124 perational amplifier

Return values:
componentID for TSZ124 operational amplifier

Implements Component.

Definition at line 145 of file TSZ124.h.