I am working on STM32F103 and the aim is to implement some libraries.
When I declare NVIC_InitStructure it's underlined in red which means that Eclipse do not recognize it. I did declare before use it : NVIC_InitTypeDef NVIC_InitStructure;
but it's red undelined.
Maybe there a library to include before use that?
NVIC_InitTypeDef NVIC_InitStructure;
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0;
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
NVIC_InitStructure.NVIC_IRQChannel = CAN1_RX0_INTERRUPTS;
NVIC_Init(&NVIC_InitStructure);
NVIC_InitStructure.NVIC_IRQChannel = CAN1_TX_INTERRUPTS;
NVIC_Init(&NVIC_InitStructure);