BusRepeater_NXP_Arduino 1.0.1
Temperature sensor device operation sample code for Arduino
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Private Attributes | List of all members
LDO_control Class Referenceabstract

#include <PCA9617ADP_ARD_LDO.h>

Inheritance diagram for LDO_control:
LDO1 LDO2

Public Member Functions

 LDO_control (int s0, int s1, int en)
 
void set (int v)
 
virtual float voltage (void)=0
 

Protected Attributes

int _settting
 

Private Attributes

int _s0
 
int _s1
 
int _en
 

Detailed Description

I2C multiplexer and switch operation library for Arduino

Author
Tedd OKANO

Released under the MIT license License LDO_control class

LDO_control class is base class to control LDO on PCA9617ADP-ARD It controls the LDO output voltage via GPIO pins

Definition at line 24 of file PCA9617ADP_ARD_LDO.h.

Constructor & Destructor Documentation

◆ LDO_control()

LDO_control::LDO_control ( int s0,
int s1,
int en )

Definition at line 3 of file PCA9617ADP_ARD_LDO.cpp.

Member Function Documentation

◆ set()

void LDO_control::set ( int v)

Definition at line 10 of file PCA9617ADP_ARD_LDO.cpp.

◆ voltage()

virtual float LDO_control::voltage ( void )
pure virtual

Implemented in LDO1, and LDO2.

Member Data Documentation

◆ _en

int LDO_control::_en
private

Definition at line 36 of file PCA9617ADP_ARD_LDO.h.

Referenced by LDO_control(), and set().

◆ _s0

int LDO_control::_s0
private

Definition at line 34 of file PCA9617ADP_ARD_LDO.h.

Referenced by LDO_control(), and set().

◆ _s1

int LDO_control::_s1
private

Definition at line 35 of file PCA9617ADP_ARD_LDO.h.

Referenced by LDO_control(), and set().

◆ _settting

int LDO_control::_settting
protected

Definition at line 31 of file PCA9617ADP_ARD_LDO.h.

Referenced by set(), LDO1::voltage(), and LDO2::voltage().


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