Skip to content

ME15: Added LP OVR Feature Support. #441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 27, 2023
Merged

ME15: Added LP OVR Feature Support. #441

merged 10 commits into from
Feb 27, 2023

Conversation

sihyung-maxim
Copy link
Contributor

Added LP Operating Voltage Range Select Support.

@sihyung-maxim
Copy link
Contributor Author

/clang-format-run

1 similar comment
@sihyung-maxim
Copy link
Contributor Author

/clang-format-run

@sihyung-maxim
Copy link
Contributor Author

/clang-format-run

Copy link
Contributor

@Jake-Carter Jake-Carter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one minor note below

}
}

// Caller must perform peripheral reset
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Document this in the Doxygen header as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@sihyung-maxim
Copy link
Contributor Author

Something is wrong with checking out the repo in the BLE_Examples_Test workflow (GitHub side issue). These changes aren't related to the BLE tests either and after talking with Eddie, it should be good to merge in even if the BLE test fails.


// Set the OVR bits
MXC_PWRSEQ->lpcn &= ~(MXC_F_PWRSEQ_LPCN_OVR);
MXC_PWRSEQ->lpcn |= ovr;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest using MXC_Setfield here to ensure ovr doesn't overwrite any other field in that register or check that it's a valid selection beforehand.

@Jacob-Scheiffler Jacob-Scheiffler merged commit 516d0ef into main Feb 27, 2023
@sihyung-maxim sihyung-maxim deleted the dev/lp-me15 branch February 27, 2023 19:09
Jake-Carter pushed a commit that referenced this pull request Mar 7, 2023
* ME15: Added LP OVR Feature Support.

* Updating lp_me15.c for clang-formatting error.

* Clang-formatted lp_me15.c locally.

* ME16 LP: Updated OVR enum values.

* ME16 LP: Fixed function prototype.

* LP OVR: Added note in doxygen header for peripheral reset.

* LP OVR: Removed @note from doxygen.

* LP ME15: Ensure appropriate control bit is set for OVR.

* Fixed syntax error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants