-
Notifications
You must be signed in to change notification settings - Fork 82
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
fix(CMSIS): Fix AFE_ADC_n_CTRL.ref_sel
enum fields and remove deprecated registers
#1069
Conversation
This pull request is stale because it has been open for 30 days with no activity. Remove stale label, commit, or comment or this will be closed in 7 days. |
This pull request is stale because it has been open for 30 days with no activity. Remove stale label, commit, or comment or this will be closed in 7 days. |
This PR has been hanging for a while. This corrects the names and values of the affected register definitions. |
ok.
I'll take a look at.
Thanks,
Jeremy
…________________________________
From: Sihyung Woo ***@***.***>
Sent: Monday, September 23, 2024 3:44 PM
To: analogdevicesinc/msdk ***@***.***>
Cc: Kongs, Jeremy ***@***.***>; Review requested ***@***.***>
Subject: Re: [analogdevicesinc/msdk] fix(CMSIS): Fix `AFE_ADC_n_CTRL.ref_sel` enum fields and remove deprecated registers (PR #1069)
[External]
This PR has been hanging for a while. This corrects the names and values of the affected register definitions.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/analogdevicesinc/msdk/pull/1069*issuecomment-2369346430__;Iw!!A3Ni8CS0y2Y!70XQosEbebRtp6wvMTOFuXUH9a-94ptPsQsMfnDwO5PCSem7CiKzLlKuMgPBRbHzHQLFGXCV78DrMyBLOSE0wrhTVgw$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ADNDREKZG37T6RP5D3ODLLTZYB4UJAVCNFSM6AAAAABKH2FZU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRZGM2DMNBTGA__;!!A3Ni8CS0y2Y!70XQosEbebRtp6wvMTOFuXUH9a-94ptPsQsMfnDwO5PCSem7CiKzLlKuMgPBRbHzHQLFGXCV78DrMyBLOSE0GIqEQ7U$>.
You are receiving this because your review was requested.Message ID: ***@***.***>
|
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.
Reviewed. Slight issue with REV_ID on MAX32680. Otherwise approved.
@@ -563,7 +563,7 @@ extern "C" { | |||
* @{ | |||
*/ | |||
#define MXC_F_AFE_ADC_ZERO_PART_ID_REV_ID_POS 0 /**< PART_ID_REV_ID Position */ | |||
#define MXC_F_AFE_ADC_ZERO_PART_ID_REV_ID ((uint32_t)(0x7UL << MXC_F_AFE_ADC_ZERO_PART_ID_REV_ID_POS)) /**< PART_ID_REV_ID Mask */ | |||
#define MXC_F_AFE_ADC_ZERO_PART_ID_REV_ID ((uint32_t)(0x3FUL << MXC_F_AFE_ADC_ZERO_PART_ID_REV_ID_POS)) /**< PART_ID_REV_ID Mask */ |
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 don't think this looks right. Its only changed for 680 and only in this header file. The svd is not updated to match either, so this is likely a mistake.
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.
Nice catch, fixed the SVD and updated the ME16's PART_ID register. However, I think we're dropping support for the ME20, so I will leave the ME20 files as they* are to match the UG.
Description
Fixes the
AFE_ADC_n_CTRL.ref_sel
enumerated fields.Remove deprecated registers.
Fix #737
Checklist Before Requesting Review