i2c: implement BusAccessor except Send/Receive/WriteHeader

This commit is contained in:
Michael Scire
2020-10-31 17:58:38 -07:00
committed by SciresM
parent e5bf06254a
commit 6ff58fa4b3
4 changed files with 372 additions and 33 deletions

View File

@@ -27,7 +27,7 @@ namespace ams::regulator {
void CloseSession(RegulatorSession *session);
bool GetVoltageEnabled(RegulatorSession *session);
Result SetVoltageEnabled(RegulatorSession *session);
Result SetVoltageEnabled(RegulatorSession *session, bool enabled);
Result SetVoltageValue(RegulatorSession *session, u32 micro_volts);