BusRepeater_NXP_Arduino 1.0.1
Temperature sensor device operation sample code for Arduino
|
#include <PCA9617ADP_ARD_LDO.h>
Public Types | |
enum | voltages { v2_5 , v3_0 , v3_3 , v4_96 , VOLTAGES } |
Public Member Functions | |
LDO2 () | |
float | voltage (void) |
![]() | |
LDO_control (int s0, int s1, int en) | |
void | set (int v) |
Private Types | |
enum | pin_num { S1 = 1 , S0 , EN_B = 0xFF } |
Static Private Attributes | |
static float | voltage_values [VOLTAGES] = { 2.5, 3.0, 3.3, 4.96 } |
Additional Inherited Members | |
![]() | |
int | _settting |
LDO2 class
LDO1 class is for making instance of control LDO2
Definition at line 78 of file PCA9617ADP_ARD_LDO.h.
|
private |
Enumerator | |
---|---|
S1 | |
S0 | |
EN_B |
Definition at line 94 of file PCA9617ADP_ARD_LDO.h.
enum LDO2::voltages |
Enumerator | |
---|---|
v2_5 | |
v3_0 | |
v3_3 | |
v4_96 | |
VOLTAGES |
Definition at line 85 of file PCA9617ADP_ARD_LDO.h.
LDO2::LDO2 | ( | ) |
Definition at line 32 of file PCA9617ADP_ARD_LDO.cpp.
|
virtual |
Implements LDO_control.
Definition at line 26 of file PCA9617ADP_ARD_LDO.cpp.
|
staticprivate |
Definition at line 35 of file PCA9617ADP_ARD_LDO.h.
Referenced by voltage().