-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
hal: microchip: Missing Wake bit definitions #34325
Comments
The modules/hal/microchip/mec/mec1501/component/keyscan.h has defines for keyscan GIRQ21 NVIC value 135 and GIRQ21 bit position 21, and a define for the GIRQ mask value. There's a type in the NVIC, MCHP_KSAN_NVIC instead of MCHP_KSCAN_NVIC. I will fix. Is this sufficient for key scan definitions? |
Sounds like a good plan. Current code Code to be added better having a HAL macro than self-defined in the module itself. |
Describe the bug
None of the wake event (GIRQ21 and GIRQ22) are exposed in the HAL
KSC_INT, SMB-I2C _WAKE_ONLY, ESPI_WAKE_ONLY, PS2_0A_WK, etc
Expected behavior
Bit definitions to be added in HAL.
Impact
Magic numbers to be used inside SoC power module making this error prone or relying in old documentation.
The text was updated successfully, but these errors were encountered: