BusRepeater_NXP_Arduino 1.0.1
Temperature sensor device operation sample code for Arduino
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Types | Static Private Attributes | List of all members
LDO1 Class Reference

#include <PCA9617ADP_ARD_LDO.h>

Inheritance diagram for LDO1:
LDO_control

Public Types

enum  voltages {
  v1_8 , v2_5 , v3_3 , v4_96 ,
  v0_8 , VOLTAGES
}
 

Public Member Functions

 LDO1 ()
 
float voltage (void)
 
- Public Member Functions inherited from LDO_control
 LDO_control (int s0, int s1, int en)
 
void set (int v)
 

Private Types

enum  pin_num { EN_B = 3 , S1 , S0 }
 

Static Private Attributes

static float voltage_values [VOLTAGES] = { 1.8, 2.5, 3.3, 4.96, 0.8 }
 

Additional Inherited Members

- Protected Attributes inherited from LDO_control
int _settting
 

Detailed Description

LDO1 class

LDO1 class is for making instance of control LDO1

Definition at line 46 of file PCA9617ADP_ARD_LDO.h.

Member Enumeration Documentation

◆ pin_num

enum LDO1::pin_num
private
Enumerator
EN_B 
S1 
S0 

Definition at line 63 of file PCA9617ADP_ARD_LDO.h.

◆ voltages

Enumerator
v1_8 
v2_5 
v3_3 
v4_96 
v0_8 
VOLTAGES 

Definition at line 53 of file PCA9617ADP_ARD_LDO.h.

Constructor & Destructor Documentation

◆ LDO1()

LDO1::LDO1 ( )

Definition at line 31 of file PCA9617ADP_ARD_LDO.cpp.

Member Function Documentation

◆ voltage()

float LDO1::voltage ( void )
virtual

Implements LDO_control.

Definition at line 21 of file PCA9617ADP_ARD_LDO.cpp.

Member Data Documentation

◆ voltage_values

float LDO1::voltage_values = { 1.8, 2.5, 3.3, 4.96, 0.8 }
staticprivate

Definition at line 34 of file PCA9617ADP_ARD_LDO.h.

Referenced by voltage().


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