Home
last modified time | relevance | path

Searched refs:__NVIC_PRIO_BITS (Results 1 – 25 of 35) sorted by relevance

12

/loramac-node-3.4.0/src/boards/mcu/saml21/cmsis/
Dcore_cm0.h173 #ifndef __NVIC_PRIO_BITS
174 #define __NVIC_PRIO_BITS 2 macro
615 (((priority << (8 - __NVIC_PRIO_BITS)) & 0xFF) << _BIT_SHIFT(IRQn)); } in NVIC_SetPriority()
618 (((priority << (8 - __NVIC_PRIO_BITS)) & 0xFF) << _BIT_SHIFT(IRQn)); } in NVIC_SetPriority()
637 …t)(((SCB->SHP[_SHP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & 0xFF) >> (8 - __NVIC_PRIO_BITS))); } /* get… in NVIC_GetPriority()
639 …t)(((NVIC->IP[ _IP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & 0xFF) >> (8 - __NVIC_PRIO_BITS))); } /* get… in NVIC_GetPriority()
690 …NVIC_SetPriority (SysTick_IRQn, (1<<__NVIC_PRIO_BITS) - 1); /* set Priority for Systick Interrupt… in SysTick_Config()
Dcore_cm3.h178 #ifndef __NVIC_PRIO_BITS
179 #define __NVIC_PRIO_BITS 4 macro
1428 …SCB->SHP[((uint32_t)(IRQn) & 0xF)-4] = ((priority << (8 - __NVIC_PRIO_BITS)) & 0xff); } /* set Pri… in NVIC_SetPriority()
1430 …NVIC->IP[(uint32_t)(IRQn)] = ((priority << (8 - __NVIC_PRIO_BITS)) & 0xff); } /* set Pri… in NVIC_SetPriority()
1449 …return((uint32_t)(SCB->SHP[((uint32_t)(IRQn) & 0xF)-4] >> (8 - __NVIC_PRIO_BITS))); } /* get prio… in NVIC_GetPriority()
1451 …return((uint32_t)(NVIC->IP[(uint32_t)(IRQn)] >> (8 - __NVIC_PRIO_BITS))); } /* get prio… in NVIC_GetPriority()
1473 …PreemptPriorityBits = ((7 - PriorityGroupTmp) > __NVIC_PRIO_BITS) ? __NVIC_PRIO_BITS : 7 - Priorit… in NVIC_EncodePriority()
1474 …ubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __NV… in NVIC_EncodePriority()
1501 …PreemptPriorityBits = ((7 - PriorityGroupTmp) > __NVIC_PRIO_BITS) ? __NVIC_PRIO_BITS : 7 - Priorit… in NVIC_DecodePriority()
1502 …ubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __NV… in NVIC_DecodePriority()
[all …]
Dcore_sc300.h178 #ifndef __NVIC_PRIO_BITS
179 #define __NVIC_PRIO_BITS 4 macro
1408 …SCB->SHP[((uint32_t)(IRQn) & 0xF)-4] = ((priority << (8 - __NVIC_PRIO_BITS)) & 0xff); } /* set Pri… in NVIC_SetPriority()
1410 …NVIC->IP[(uint32_t)(IRQn)] = ((priority << (8 - __NVIC_PRIO_BITS)) & 0xff); } /* set Pri… in NVIC_SetPriority()
1429 …return((uint32_t)(SCB->SHP[((uint32_t)(IRQn) & 0xF)-4] >> (8 - __NVIC_PRIO_BITS))); } /* get prio… in NVIC_GetPriority()
1431 …return((uint32_t)(NVIC->IP[(uint32_t)(IRQn)] >> (8 - __NVIC_PRIO_BITS))); } /* get prio… in NVIC_GetPriority()
1453 …PreemptPriorityBits = ((7 - PriorityGroupTmp) > __NVIC_PRIO_BITS) ? __NVIC_PRIO_BITS : 7 - Priorit… in NVIC_EncodePriority()
1454 …ubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __NV… in NVIC_EncodePriority()
1481 …PreemptPriorityBits = ((7 - PriorityGroupTmp) > __NVIC_PRIO_BITS) ? __NVIC_PRIO_BITS : 7 - Priorit… in NVIC_DecodePriority()
1482 …ubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __NV… in NVIC_DecodePriority()
[all …]
Dcore_cm0plus.h183 #ifndef __NVIC_PRIO_BITS
184 #define __NVIC_PRIO_BITS 2 macro
726 (((priority << (8 - __NVIC_PRIO_BITS)) & 0xFF) << _BIT_SHIFT(IRQn)); } in NVIC_SetPriority()
729 (((priority << (8 - __NVIC_PRIO_BITS)) & 0xFF) << _BIT_SHIFT(IRQn)); } in NVIC_SetPriority()
748 …t)(((SCB->SHP[_SHP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & 0xFF) >> (8 - __NVIC_PRIO_BITS))); } /* get… in NVIC_GetPriority()
750 …t)(((NVIC->IP[ _IP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & 0xFF) >> (8 - __NVIC_PRIO_BITS))); } /* get… in NVIC_GetPriority()
801 …NVIC_SetPriority (SysTick_IRQn, (1<<__NVIC_PRIO_BITS) - 1); /* set Priority for Systick Interrupt… in SysTick_Config()
Dcore_cm4.h224 #ifndef __NVIC_PRIO_BITS
225 #define __NVIC_PRIO_BITS 4 macro
1580 …SCB->SHP[((uint32_t)(IRQn) & 0xF)-4] = ((priority << (8 - __NVIC_PRIO_BITS)) & 0xff); } /* set Pri… in NVIC_SetPriority()
1582 …NVIC->IP[(uint32_t)(IRQn)] = ((priority << (8 - __NVIC_PRIO_BITS)) & 0xff); } /* set Pri… in NVIC_SetPriority()
1601 …return((uint32_t)(SCB->SHP[((uint32_t)(IRQn) & 0xF)-4] >> (8 - __NVIC_PRIO_BITS))); } /* get prio… in NVIC_GetPriority()
1603 …return((uint32_t)(NVIC->IP[(uint32_t)(IRQn)] >> (8 - __NVIC_PRIO_BITS))); } /* get prio… in NVIC_GetPriority()
1625 …PreemptPriorityBits = ((7 - PriorityGroupTmp) > __NVIC_PRIO_BITS) ? __NVIC_PRIO_BITS : 7 - Priorit… in NVIC_EncodePriority()
1626 …ubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __NV… in NVIC_EncodePriority()
1653 …PreemptPriorityBits = ((7 - PriorityGroupTmp) > __NVIC_PRIO_BITS) ? __NVIC_PRIO_BITS : 7 - Priorit… in NVIC_DecodePriority()
1654 …ubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __NV… in NVIC_DecodePriority()
[all …]
Dcore_sc000.h178 #ifndef __NVIC_PRIO_BITS
179 #define __NVIC_PRIO_BITS 2 macro
746 (((priority << (8 - __NVIC_PRIO_BITS)) & 0xFF) << _BIT_SHIFT(IRQn)); } in NVIC_SetPriority()
749 (((priority << (8 - __NVIC_PRIO_BITS)) & 0xFF) << _BIT_SHIFT(IRQn)); } in NVIC_SetPriority()
768 …t)(((SCB->SHP[_SHP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & 0xFF) >> (8 - __NVIC_PRIO_BITS))); } /* get… in NVIC_GetPriority()
770 …t)(((NVIC->IP[ _IP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & 0xFF) >> (8 - __NVIC_PRIO_BITS))); } /* get… in NVIC_GetPriority()
821 …NVIC_SetPriority (SysTick_IRQn, (1<<__NVIC_PRIO_BITS) - 1); /* set Priority for Systick Interrupt… in SysTick_Config()
Dcore_cm7.h239 #ifndef __NVIC_PRIO_BITS
240 #define __NVIC_PRIO_BITS 3 macro
1767 …SCB->SHPR[((uint32_t)(IRQn) & 0xF)-4] = ((priority << (8 - __NVIC_PRIO_BITS)) & 0xff); } /* set Pr… in NVIC_SetPriority()
1769 …NVIC->IP[(uint32_t)(IRQn)] = ((priority << (8 - __NVIC_PRIO_BITS)) & 0xff); } /* set Pr… in NVIC_SetPriority()
1788 …return((uint32_t)(SCB->SHPR[((uint32_t)(IRQn) & 0xF)-4] >> (8 - __NVIC_PRIO_BITS))); } /* get pri… in NVIC_GetPriority()
1790 …return((uint32_t)(NVIC->IP[(uint32_t)(IRQn)] >> (8 - __NVIC_PRIO_BITS))); } /* get pri… in NVIC_GetPriority()
1812 …PreemptPriorityBits = ((7 - PriorityGroupTmp) > __NVIC_PRIO_BITS) ? __NVIC_PRIO_BITS : 7 - Priorit… in NVIC_EncodePriority()
1813 …ubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __NV… in NVIC_EncodePriority()
1840 …PreemptPriorityBits = ((7 - PriorityGroupTmp) > __NVIC_PRIO_BITS) ? __NVIC_PRIO_BITS : 7 - Priorit… in NVIC_DecodePriority()
1841 …ubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __NV… in NVIC_DecodePriority()
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/cmsis/
Dcore_cm0.h188 #ifndef __NVIC_PRIO_BITS
189 #define __NVIC_PRIO_BITS 2U macro
693 (((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn))); in NVIC_SetPriority()
698 (((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn))); in NVIC_SetPriority()
717 …(((SCB->SHP[_SHP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
721 …(((NVIC->IP[ _IP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
777 …NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Inte… in SysTick_Config()
Dcore_cm3.h193 #ifndef __NVIC_PRIO_BITS
194 #define __NVIC_PRIO_BITS 4U macro
1528 …int32_t)(int32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t… in NVIC_SetPriority()
1532 …nt32_t)(int32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t… in NVIC_SetPriority()
1551 … return(((uint32_t)SCB->SHP[(((uint32_t)(int32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
1555 … return(((uint32_t)NVIC->IP[((uint32_t)(int32_t)IRQn)] >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
1577 …iorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BI… in NVIC_EncodePriority()
1578 …Tmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTm… in NVIC_EncodePriority()
1604 …iorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BI… in NVIC_DecodePriority()
1605 …Tmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTm… in NVIC_DecodePriority()
[all …]
Dcore_sc300.h193 #ifndef __NVIC_PRIO_BITS
194 #define __NVIC_PRIO_BITS 4U macro
1510 …int32_t)(int32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t… in NVIC_SetPriority()
1514 …nt32_t)(int32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t… in NVIC_SetPriority()
1533 … return(((uint32_t)SCB->SHP[(((uint32_t)(int32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
1537 … return(((uint32_t)NVIC->IP[((uint32_t)(int32_t)IRQn)] >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
1559 …iorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BI… in NVIC_EncodePriority()
1560 …Tmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTm… in NVIC_EncodePriority()
1586 …iorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BI… in NVIC_DecodePriority()
1587 …Tmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTm… in NVIC_DecodePriority()
[all …]
Dcore_cm4.h246 #ifndef __NVIC_PRIO_BITS
247 #define __NVIC_PRIO_BITS 4U macro
1702 …int32_t)(int32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t… in NVIC_SetPriority()
1706 …nt32_t)(int32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t… in NVIC_SetPriority()
1725 … return(((uint32_t)SCB->SHP[(((uint32_t)(int32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
1729 … return(((uint32_t)NVIC->IP[((uint32_t)(int32_t)IRQn)] >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
1751 …iorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BI… in NVIC_EncodePriority()
1752 …Tmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTm… in NVIC_EncodePriority()
1778 …iorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BI… in NVIC_DecodePriority()
1779 …Tmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTm… in NVIC_DecodePriority()
[all …]
Dcore_cm0plus.h198 #ifndef __NVIC_PRIO_BITS
199 #define __NVIC_PRIO_BITS 2U macro
809 (((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn))); in NVIC_SetPriority()
814 (((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn))); in NVIC_SetPriority()
833 …(((SCB->SHP[_SHP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
837 …(((NVIC->IP[ _IP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
893 …NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Inte… in SysTick_Config()
Dcore_sc000.h193 #ifndef __NVIC_PRIO_BITS
194 #define __NVIC_PRIO_BITS 2U macro
821 (((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn))); in NVIC_SetPriority()
826 (((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn))); in NVIC_SetPriority()
845 …(((SCB->SHP[_SHP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
849 …(((NVIC->IP[ _IP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
905 …NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Inte… in SysTick_Config()
Dcore_cm7.h261 #ifndef __NVIC_PRIO_BITS
262 #define __NVIC_PRIO_BITS 3U macro
1910 …int32_t)(int32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t… in NVIC_SetPriority()
1914 …t32_t)(int32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t… in NVIC_SetPriority()
1933 … return(((uint32_t)SCB->SHPR[(((uint32_t)(int32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
1937 … return(((uint32_t)NVIC->IP[((uint32_t)(int32_t)IRQn)] >> (8U - __NVIC_PRIO_BITS))); in NVIC_GetPriority()
1959 …iorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BI… in NVIC_EncodePriority()
1960 …Tmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTm… in NVIC_EncodePriority()
1986 …iorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BI… in NVIC_DecodePriority()
1987 …Tmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTm… in NVIC_DecodePriority()
[all …]
/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/cmsis/
Dstm32l0xx_hal_conf.h163 #define TICK_INT_PRIORITY (((uint32_t)1<<__NVIC_PRIO_BITS) - 1) /*!< tick interrupt …
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_conf_template.h155 #define TICK_INT_PRIORITY (((uint32_t)1U<<__NVIC_PRIO_BITS) - 1U) /*!< tick interrup…
/loramac-node-3.4.0/src/boards/mcu/saml21/saml21b/include/
Dsaml21e15b.h220 #define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */ macro
Dsaml21e16b.h220 #define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */ macro
Dsaml21e17b.h220 #define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */ macro
Dsaml21e18b.h220 #define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */ macro
Dsaml21g16b.h220 #define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */ macro
Dsaml21g17b.h220 #define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */ macro
Dsaml21g18b.h220 #define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */ macro
Dsaml21j16b.h224 #define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */ macro
Dsaml21j17b.h224 #define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */ macro

12