48 lines
796 B
C
48 lines
796 B
C
|
//###########################################################################
|
||
|
//
|
||
|
// FILE: epwm_test.c
|
||
|
//
|
||
|
|
||
|
//
|
||
|
//
|
||
|
//###########################################################################
|
||
|
//
|
||
|
|
||
|
//###########################################################################
|
||
|
|
||
|
//
|
||
|
// Included Files
|
||
|
//
|
||
|
#include "f28x_project.h"
|
||
|
#include "init_perif.h"
|
||
|
#include"frm_uart.h"
|
||
|
//
|
||
|
// Main
|
||
|
//
|
||
|
volatile uint16_t test=0x5AA5, counter=0x8888 ;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
|
||
|
InitPerif();
|
||
|
FRMUartInit();
|
||
|
//
|
||
|
// IDLE loop. Just sit and loop forever (optional):
|
||
|
//
|
||
|
for(;;)
|
||
|
{
|
||
|
asm (" NOP");
|
||
|
counter++;
|
||
|
// if(FMSTR_is_enable()) {
|
||
|
FMSTR_Poll();
|
||
|
//FMSTR_Recorder();
|
||
|
//FMSTR_enable_clr();
|
||
|
// }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
//
|
||
|
// End of file
|
||
|
//
|