-
Notifications
You must be signed in to change notification settings - Fork 108
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
Conversation
/clang-format-run |
1 similar comment
/clang-format-run |
/clang-format-run |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
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; |
There was a problem hiding this comment.
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.
* 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.
Added LP Operating Voltage Range Select Support.