STM32Cube MCU Full Package for the STM32L0 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Avoid reading ISTR multiple times which is quite slow on L0 MCUs
Change follows the same pattern in PCD_EP_ISR_Handler. Cache the value in wIstr and do repeated checks on the variable.
IMPORTANT INFORMATION
Contributor License Agreement (CLA)
The Pull Request feature will be considered by STMicroelectronics after the signature of a Contributor License Agreement (CLA) by the submitter.
If you did not sign such agreement, please follow the steps mentioned in the CONTRIBUTING.md file.
Avoid reading ISTR multiple times which is quite slow on L0 MCUs Change follows the same pattern in PCD_EP_ISR_Handler. Cache the value in wIstr and do repeated checks on the variable.
IMPORTANT INFORMATION
Contributor License Agreement (CLA)