Download TC1766 Micro Link Interface: Quick Start
Transcript
AP32087
MLI Quick Start
Practical Implementation
4.3.3.4
Main_Remote.H
At the end of the file
// USER CODE BEGIN (MAIN_Header,10)
#include "MLI0_Config_Remote.h"
// USER CODE END
4.3.3.5
Main_Remote.C
Main function
// USER CODE BEGIN (Main,9)
int i;
uword volatile *p;
p= remote_pipe0_base;
for(i=0;i<=5;i++)
{
*p=0xffff0000 +i;
p=p + 1;
}
while(1);
// USER CODE END
Application Note
61
V 1.0, 2005-04