Skip to content

Commit

Permalink
[SY6970] Added reset method
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Jul 26, 2024
1 parent f4f55d9 commit ae83a03
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/PowersSY6970.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ public:
return (res & 0x03);
}

void resetDefault()
{
setRegisterBit(POWERS_SY6970_REG_14H, 7);
}

bool init()
{
return begin();
Expand Down Expand Up @@ -987,7 +992,7 @@ private:
return false;
}
// Set the minimum operating voltage. Below this voltage, the PMU will protect
setSysPowerDownVoltage(3300);
// setSysPowerDownVoltage(3300);

//Default disable Watchdog
disableWatchdog();
Expand Down

0 comments on commit ae83a03

Please sign in to comment.