46 lines
796 B
C
46 lines
796 B
C
|
|
//###########################################################################
|
||
|
|
//
|
||
|
|
// FILE: epwm_test.c
|
||
|
|
//
|
||
|
|
|
||
|
|
//
|
||
|
|
//
|
||
|
|
//###########################################################################
|
||
|
|
//
|
||
|
|
// in 2838x_FLASH_lnk_cpu1.cmd
|
||
|
|
// .bss : > RAMGS0 // instead of RAMLS5
|
||
|
|
//###########################################################################
|
||
|
|
|
||
|
|
//
|
||
|
|
// Included Files
|
||
|
|
//
|
||
|
|
#include "f28x_project.h"
|
||
|
|
#include "init_perif.h"
|
||
|
|
#include "frmmstr_run.h"
|
||
|
|
#include "adc_init.h"
|
||
|
|
#include "biss.h"
|
||
|
|
#include "rele.h"
|
||
|
|
|
||
|
|
void main(void)
|
||
|
|
{
|
||
|
|
ESTOP0;
|
||
|
|
InitPerif();
|
||
|
|
//SciaRegs.SCITXBUF.all = 0xA5;
|
||
|
|
|
||
|
|
for(;;)
|
||
|
|
{
|
||
|
|
// asm (" NOP");
|
||
|
|
frmmstr_run();
|
||
|
|
rele_run();
|
||
|
|
|
||
|
|
// Gpio_rainbow(diod);
|
||
|
|
// AdcRun();
|
||
|
|
BissClkgenRun();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
//
|
||
|
|
// End of file
|
||
|
|
//
|