Searched refs:tmppriority (Results 1 – 3 of 3) sorted by relevance
113 uint32_t tmppriority = 0x00, tmppre = 0x00, tmpsub = 0x0F; in NVIC_Init() local123 tmppriority = (0x700 - ((SCB->AIRCR) & (uint32_t)0x700))>> 0x08; in NVIC_Init()124 tmppre = (0x4 - tmppriority); in NVIC_Init()125 tmpsub = tmpsub >> tmppriority; in NVIC_Init()127 tmppriority = (uint32_t)NVIC_InitStruct->NVIC_IRQChannelPreemptionPriority << tmppre; in NVIC_Init()128 tmppriority |= NVIC_InitStruct->NVIC_IRQChannelSubPriority & tmpsub; in NVIC_Init()129 tmppriority = tmppriority << 0x04; in NVIC_Init()131 NVIC->IP[NVIC_InitStruct->NVIC_IRQChannel] = tmppriority; in NVIC_Init()
138 uint8_t tmppriority = 0x00, tmppre = 0x00, tmpsub = 0x0F; in NVIC_Init() local148 tmppriority = (0x700 - ((SCB->AIRCR) & (uint32_t)0x700))>> 0x08; in NVIC_Init()149 tmppre = (0x4 - tmppriority); in NVIC_Init()150 tmpsub = tmpsub >> tmppriority; in NVIC_Init()152 tmppriority = NVIC_InitStruct->NVIC_IRQChannelPreemptionPriority << tmppre; in NVIC_Init()153 tmppriority |= (uint8_t)(NVIC_InitStruct->NVIC_IRQChannelSubPriority & tmpsub); in NVIC_Init()155 tmppriority = tmppriority << 0x04; in NVIC_Init()157 NVIC->IP[NVIC_InitStruct->NVIC_IRQChannel] = tmppriority; in NVIC_Init()
Completed in 6 milliseconds