mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 16:01:18 +01:00
cpu/cc2538: made ISR names configurable by a board
This commit is contained in:
parent
eee159ee74
commit
ca20603d54
@ -392,7 +392,7 @@ void timer_reset(tim_t dev)
|
||||
|
||||
#if TIMER_0_EN
|
||||
__attribute__((naked))
|
||||
void isr_timer0_chan0(void)
|
||||
void TIMER_0_ISR_1(void)
|
||||
{
|
||||
ISR_ENTER();
|
||||
if (config[0].cb != NULL) config[0].cb(0);
|
||||
@ -405,7 +405,7 @@ void isr_timer0_chan0(void)
|
||||
}
|
||||
|
||||
__attribute__((naked))
|
||||
void isr_timer0_chan1(void)
|
||||
void TIMER_0_ISR_2(void)
|
||||
{
|
||||
ISR_ENTER();
|
||||
if (config[0].cb != NULL) config[0].cb(1);
|
||||
@ -421,7 +421,7 @@ void isr_timer0_chan1(void)
|
||||
|
||||
#if TIMER_1_EN
|
||||
__attribute__((naked))
|
||||
void isr_timer1_chan0(void)
|
||||
void TIMER_1_ISR_1(void)
|
||||
{
|
||||
ISR_ENTER();
|
||||
if (config[1].cb != NULL) config[1].cb(0);
|
||||
@ -434,7 +434,7 @@ void isr_timer1_chan0(void)
|
||||
}
|
||||
|
||||
__attribute__((naked))
|
||||
void isr_timer1_chan1(void)
|
||||
void TIMER_1_ISR_2(void)
|
||||
{
|
||||
ISR_ENTER();
|
||||
if (config[1].cb != NULL) config[1].cb(1);
|
||||
@ -450,7 +450,7 @@ void isr_timer1_chan1(void)
|
||||
|
||||
#if TIMER_2_EN
|
||||
__attribute__((naked))
|
||||
void isr_timer2_chan0(void)
|
||||
void TIMER_2_ISR_1(void)
|
||||
{
|
||||
ISR_ENTER();
|
||||
if (config[2].cb != NULL) config[2].cb(0);
|
||||
@ -463,7 +463,7 @@ void isr_timer2_chan0(void)
|
||||
}
|
||||
|
||||
__attribute__((naked))
|
||||
void isr_timer2_chan1(void)
|
||||
void TIMER_2_ISR_2(void)
|
||||
{
|
||||
ISR_ENTER();
|
||||
if (config[2].cb != NULL) config[2].cb(1);
|
||||
@ -479,7 +479,7 @@ void isr_timer2_chan1(void)
|
||||
|
||||
#if TIMER_3_EN
|
||||
__attribute__((naked))
|
||||
void isr_timer3_chan0(void)
|
||||
void TIMER_3_ISR_1(void)
|
||||
{
|
||||
ISR_ENTER();
|
||||
if (config[3].cb != NULL) config[3].cb(0);
|
||||
@ -492,7 +492,7 @@ void isr_timer3_chan0(void)
|
||||
}
|
||||
|
||||
__attribute__((naked))
|
||||
void isr_timer3_chan1(void)
|
||||
void TIMER_3_ISR_2(void)
|
||||
{
|
||||
ISR_ENTER();
|
||||
if (config[3].cb != NULL) config[3].cb(1);
|
||||
|
||||
@ -117,7 +117,7 @@ static void reset(cc2538_uart_t *u)
|
||||
|
||||
#if UART_0_EN
|
||||
__attribute__((naked))
|
||||
void isr_uart0(void)
|
||||
void UART_0_ISR(void)
|
||||
{
|
||||
uint_fast16_t mis;
|
||||
|
||||
@ -150,7 +150,7 @@ void isr_uart0(void)
|
||||
|
||||
#if UART_1_EN
|
||||
__attribute__((naked))
|
||||
void isr_uart1(void)
|
||||
void UART_1_ISR(void)
|
||||
{
|
||||
uint_fast16_t mis;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user