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

TSV734 Class Reference

TSV734 Class Reference

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

#include <TSV734.h>

Inherits LedDriver.

Public Member Functions

 TSV734 (PinName ledDriverPin, double ledPeriod)
 Constructor.
virtual ~TSV734 (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 TSV734 perational amplifier
virtual double set_duty_cycle (double dc)
 Public functions inherited from the LedDriver Class.

Detailed Description

Class representing a TSV734 operational amplifier component.

Definition at line 82 of file TSV734.h.


Constructor & Destructor Documentation

TSV734 ( PinName  ledDriverPin,
double  ledPeriod 
)

Constructor.

Definition at line 91 of file TSV734.h.

virtual ~TSV734 ( void   ) [virtual]

Destructor.

Definition at line 103 of file TSV734.h.


Member Function Documentation

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

Public functions inherited from the Component Class.

initialize the class for TSV734 operational amplifier component

Return values:
COMPONENT_OKif initialization is successfull
suitableerror code otherwise

Implements Component.

Definition at line 138 of file TSV734.h.

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

obtain component ID for TSV734 perational amplifier

Return values:
componentID for TSV734 operational amplifier

Implements Component.

Definition at line 147 of file TSV734.h.

virtual double set_duty_cycle ( double  dc ) [virtual]

Public functions inherited from the LedDriver Class.

set the duty cycle of LED in LED driver configuration

Parameters:
dcduty cycle to set
Return values:
dutycycle in LED driver configuration

Implements LedDriver.

Definition at line 161 of file TSV734.h.