| Line 32... |
Line 32... |
| 32 |
void pmu_read_multiple(int address, int count, unsigned char* buffer);
|
32 |
void pmu_read_multiple(int address, int count, unsigned char* buffer);
|
| 33 |
void pmu_write_multiple(int address, int count, unsigned char* buffer);
|
33 |
void pmu_write_multiple(int address, int count, unsigned char* buffer);
|
| 34 |
int pmu_read_adc(unsigned int adc);
|
34 |
int pmu_read_adc(unsigned int adc);
|
| 35 |
int pmu_read_battery_voltage(void);
|
35 |
int pmu_read_battery_voltage(void);
|
| 36 |
int pmu_read_battery_current(void);
|
36 |
int pmu_read_battery_current(void);
|
| 37 |
void pmu_init(void);
|
37 |
void pmu_init(void) INITCODE_ATTR;
|
| 38 |
void pmu_ldo_on_in_standby(unsigned int ldo, int onoff);
|
38 |
void pmu_ldo_on_in_standby(unsigned int ldo, int onoff);
|
| 39 |
void pmu_ldo_set_voltage(unsigned int ldo, unsigned char voltage);
|
39 |
void pmu_ldo_set_voltage(unsigned int ldo, unsigned char voltage);
|
| 40 |
void pmu_ldo_power_on(unsigned int ldo);
|
40 |
void pmu_ldo_power_on(unsigned int ldo);
|
| 41 |
void pmu_ldo_power_off(unsigned int ldo);
|
41 |
void pmu_ldo_power_off(unsigned int ldo);
|
| 42 |
void pmu_set_wake_condition(unsigned char condition);
|
42 |
void pmu_set_wake_condition(unsigned char condition);
|