Searched refs:SubPriorityBits (Results 1 – 1 of 1) sorted by relevance
903 uint32_t SubPriorityBits; in NVIC_EncodePriority() local906 …SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()909 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()910 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()930 uint32_t SubPriorityBits; in NVIC_DecodePriority() local933 …SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()935 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()936 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()