mbed library for STMicroelectronics' X-NUCLEO-IKA01A1 expansion board.
Dependents: HelloWorld_IKA01A1
Fork of X_NUCLEO_IKA01A1 by
LedDriver Class Reference
An abstract class for LedDriver components. More...
#include <LedDriver.h>
Inherits Component.
Inherited by TSV734.
Public Member Functions | |
virtual double | set_duty_cycle (double dc)=0 |
abstract method for setting the duty cycle of LED in LED driver configuration | |
virtual | ~LedDriver () |
Destructor. | |
virtual int | init (void *init)=0 |
Initializing the component. | |
virtual int | read_id (uint8_t *id)=0 |
Getting the ID of the component. |
Detailed Description
An abstract class for LedDriver components.
Definition at line 67 of file LedDriver.h.
Constructor & Destructor Documentation
virtual ~LedDriver | ( | ) | [virtual] |
Destructor.
Definition at line 92 of file LedDriver.h.
Member Function Documentation
virtual int init | ( | void * | init ) | [pure virtual, inherited] |
virtual int read_id | ( | uint8_t * | id ) | [pure virtual, inherited] |
virtual double set_duty_cycle | ( | double | dc ) | [pure virtual] |
abstract method for setting the duty cycle of LED in LED driver configuration
- Parameters:
-
dc duty cycle to set
- Return values:
-
duty cycle in LED driver configuration
Implemented in TSV734.
Generated on Tue Jul 12 2022 17:01:49 by 1.7.2