Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/Arduino_LowPowerPortentaH7.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ class LowPowerPortentaH7 {
LowPowerPortentaH7() = default;
~LowPowerPortentaH7() = default;

bool turnOffEthernet() const;
void waitForFlashReady() const;

/// @cond DEV
Expand Down Expand Up @@ -370,6 +369,13 @@ class LowPowerPortentaH7 {
* @return True if the microcontroller was in the given mode, false otherwise.
*/
bool wasInCPUMode(CPUMode mode) const;

/**
* @brief Put the ethernet module and phy in low power mode.
* Note: The board will blink the red LED every half second if this fails and will not progress.
* @return Success or failure.
*/
bool turnOffEthernet() const;
};

/*
Expand Down
Loading