HAL API sets NVIC priority from 0 to 3 only whereas rM0376 suggests otherwise
I am using STM32L072
hence referring to reference manual RM0376
Page . 280 Table.53 suggests that priority can be from 0 till 38
but when try
HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
as per help above that function i can set Preemptpriority only from 0-3 , subpriority is of no use for cortex m0+
if i put more than 3 ,it becomes 0
I am confused between reference manual and HAL
Which is correct ?
