-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
enhancementNew feature or requestNew feature or requesthalHAL-LL driver-related issue or pull-request.HAL-LL driver-related issue or pull-request.internal bug trackerIssue confirmed and logged into the internal bug tracking systemIssue confirmed and logged into the internal bug tracking systemusb-pdUSB Power-Delivery-related issue or pull-requestUSB Power-Delivery-related issue or pull-request
Description
The function for checking is the RxErr flag is missing. Despite the fact the RxErr flag is defined in LL-UCPD, it is never used.
Additional context
If you have a first analysis or patch correction, thank you to share your proposal.
The function for checking RxErr flag should look like this:
/**
* @brief Check if Rx error interrupt
* @rmtoll SR RXERR LL_UCPD_IsActiveFlag_RxErr
* @param UCPDx UCPD Instance
* @retval None
*/
__STATIC_INLINE uint32_t LL_UCPD_IsActiveFlag_RxErr(UCPD_TypeDef const * const UCPDx)
{
return ((READ_BIT(UCPDx->SR, UCPD_SR_RXERR) == UCPD_SR_RXERR) ? 1UL : 0UL);
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthalHAL-LL driver-related issue or pull-request.HAL-LL driver-related issue or pull-request.internal bug trackerIssue confirmed and logged into the internal bug tracking systemIssue confirmed and logged into the internal bug tracking systemusb-pdUSB Power-Delivery-related issue or pull-requestUSB Power-Delivery-related issue or pull-request
Type
Projects
Status
In progress