MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / NVIC_Configuration

Function NVIC_Configuration

bsp/CME_M7/drivers/emac.c:357–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357static void NVIC_Configuration(void)
358{
359 NVIC_InitTypeDef NVIC_InitStructure;
360
361 /* Enable the USARTy Interrupt */
362 NVIC_InitStructure.NVIC_IRQChannel = ETH_INT_IRQn;
363 NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0;
364 NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;
365 NVIC_InitStructure.NVIC_IRQChannelCmd = TRUE;
366 NVIC_Init(&NVIC_InitStructure);
367}
368
369int cme_m7_eth_init(void)
370{

Callers 1

cme_m7_eth_initFunction · 0.70

Calls 1

NVIC_InitFunction · 0.50

Tested by

no test coverage detected