Razvalyaev
7e0063eee0
Все основные файлы подтянуты без изменений Изменены (только папка main_matlab): - заглушки для ненужных функций (main_matlab.c) - iq библиотека (IQmathLib_matlab.c) - библиотеки DSP281x
37 lines
1.0 KiB
C
37 lines
1.0 KiB
C
/*
|
|
* profile_interrupt.c
|
|
*
|
|
* Created on: 6 àâã. 2024 ã.
|
|
* 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;
|
|
|
|
}
|