Apply modifications to mass-produced boards
- 3 channel power sensor ina3221 - io expander pca9557 - Some gpio moves - ... Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
This commit is contained in:
17
main/service/sw.h
Normal file
17
main/service/sw.h
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// Created by vl011 on 2025-08-28.
|
||||
//
|
||||
|
||||
#ifndef ODROID_POWER_MATE_SW_H
|
||||
#define ODROID_POWER_MATE_SW_H
|
||||
#include <stdbool.h>
|
||||
|
||||
void init_sw();
|
||||
void trig_power();
|
||||
void trig_reset();
|
||||
void set_main_load_switch(bool on);
|
||||
void set_usb_load_switch(bool on);
|
||||
bool get_main_load_switch();
|
||||
bool get_usb_load_switch();
|
||||
|
||||
#endif //ODROID_POWER_MATE_SW_H
|
||||
Reference in New Issue
Block a user