37 lines
1.0 KiB
C
37 lines
1.0 KiB
C
|
/*
|
|||
|
* profile_interrupt.c
|
|||
|
*
|
|||
|
* Created on: 6 <EFBFBD><EFBFBD><EFBFBD>. 2024 <EFBFBD>.
|
|||
|
* Author: yura
|
|||
|
*/
|
|||
|
|
|||
|
#include "profile_interrupt.h"
|
|||
|
|
|||
|
t_profile_interrupt profile_interrupt = T_PROFILE_INTERRUPT_DEFAULT;
|
|||
|
|
|||
|
|
|||
|
void init_profile_interrupt(void)
|
|||
|
{
|
|||
|
profile_interrupt.for_led1.bits.timer1 = 1;
|
|||
|
profile_interrupt.for_led1.bits.timer2 = 1;
|
|||
|
profile_interrupt.for_led1.bits.timer3 = 1;
|
|||
|
profile_interrupt.for_led1.bits.timer4 = 1;
|
|||
|
profile_interrupt.for_led1.bits.can = 1;
|
|||
|
profile_interrupt.for_led1.bits.pwm = 1;
|
|||
|
profile_interrupt.for_led1.bits.rsa = 1;
|
|||
|
profile_interrupt.for_led1.bits.rsb = 1;
|
|||
|
profile_interrupt.for_led1.bits.sync = 1;
|
|||
|
|
|||
|
|
|||
|
profile_interrupt.for_led2.bits.timer1 = 1;
|
|||
|
profile_interrupt.for_led2.bits.timer2 = 1;
|
|||
|
profile_interrupt.for_led2.bits.timer3 = 1;
|
|||
|
profile_interrupt.for_led2.bits.timer4 = 1;
|
|||
|
profile_interrupt.for_led2.bits.can = 1;
|
|||
|
profile_interrupt.for_led2.bits.pwm = 1;
|
|||
|
profile_interrupt.for_led2.bits.rsa = 1;
|
|||
|
profile_interrupt.for_led2.bits.rsb = 1;
|
|||
|
profile_interrupt.for_led2.bits.sync = 1;
|
|||
|
|
|||
|
}
|