Home
last modified time | relevance | path

Searched refs:tmppriority (Results 1 – 3 of 3) sorted by relevance

/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/src/
A Dmisc.c113 uint32_t tmppriority = 0x00, tmppre = 0x00, tmpsub = 0x0F; in NVIC_Init() local
123 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()
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/
A Dmisc.c138 uint8_t tmppriority = 0x00, tmppre = 0x00, tmpsub = 0x0F; in NVIC_Init() local
148 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()
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/
A Dmisc.c138 uint8_t tmppriority = 0x00, tmppre = 0x00, tmpsub = 0x0F; in NVIC_Init() local
148 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