Update on menu texts from Pho

tweaked IRQ priorities

git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@408 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
mmi
2017-12-18 08:26:14 +00:00
parent c6bf5e329f
commit e92304755c
2 changed files with 43 additions and 42 deletions

View File

@@ -554,7 +554,7 @@ static ErrorStatus initPeriphery(void)
/* --------------------------------------------------------------------*/
/* RTC */
/* --------------------------------------------------------------------*/
IRQ_setInterruptProperties(RTC_IRQn, 13, 0, ENABLE);
IRQ_setInterruptProperties(RTC_IRQn, 11, 0, ENABLE);
RTC_construct(rtc);
@@ -587,7 +587,7 @@ static ErrorStatus initPeriphery(void)
/* --------------------------------------------------------------------*/
/* SPI1 */
/* --------------------------------------------------------------------*/
IRQ_setInterruptProperties(SPI1_IRQn, 11, 0, ENABLE);
IRQ_setInterruptProperties(SPI1_IRQn, 12, 0, ENABLE);
spi1->initialized = false;
spi1->SPI_TypeDef = SPI1;
MAX5715_getSpiParameters(spiDACParam);
@@ -597,7 +597,7 @@ static ErrorStatus initPeriphery(void)
/* --------------------------------------------------------------------*/
/* SPI3 */
/* --------------------------------------------------------------------*/
IRQ_setInterruptProperties(SPI3_IRQn, 12, 0, ENABLE);
IRQ_setInterruptProperties(SPI3_IRQn, 12, 1, ENABLE);
spi3->initialized = false;
spi3->SPI_TypeDef = SPI3;
// Get the SPI parameters from the NHD0420 driver. They are more critical than the parameters from the EEPROM
@@ -651,8 +651,8 @@ static ErrorStatus initPeriphery(void)
// Bicolour red
GPIO_construct(ledBicolourRed, OUTPUT, ledBicolourRed->gpio);
IRQ_setInterruptProperties(EXTI0_IRQn, 12, 0, ENABLE);
IRQ_setInterruptProperties(EXTI1_IRQn, 12, 0, ENABLE);
IRQ_setInterruptProperties(EXTI0_IRQn, 13, 0, ENABLE);
IRQ_setInterruptProperties(EXTI1_IRQn, 13, 0, ENABLE);
// InterlockNO
_interlockNOEXTI = configureEXTI(EXTI_Line0, EXTI_Mode_Interrupt, EXTI_Trigger_Rising_Falling, DISABLE);
GPIO_construct(&_interlockNO, INPUT, _interlockNO.gpio);