📄 dp256b_pe_spi.c
字号:
/** ###################################################################
** Filename : DP256B_PE_SPI.C
** Project : DP256B_PE_SPI
** Processor : MC9S12DP256BCPV
** Version : Driver 01.12
** Compiler : CodeWarrior HC12 C Compiler
** Date/Time : 2007-4-29, 14:20
** Abstract :
** Main module.
** Here is to be placed user's code.
** Settings :
** Contents :
** No public methods
**
** (c) Copyright UNIS, spol. s r.o. 1997-2006
** UNIS, spol. s r.o.
** Jundrovska 33
** 624 00 Brno
** Czech Republic
** http : www.processorexpert.com
** mail : info@processorexpert.com
** ###################################################################*/
/* MODULE DP256B_PE_SPI */
/* Including used modules for compiling procedure */
#include "Cpu.h"
#include "Events.h"
#include "SM1.h"
/* Include shared modules, which are used for whole project */
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
void main(void)
{
/* Write your local variable definition here */
char i,temp;
/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
PE_low_level_init();
/*** End of Processor Expert internal initialization. ***/
/* Write your code here */
/*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/
for(i=0;;i++){
SM1_SendChar(i);
SM1_RecvChar(&temp);
}
/*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/
} /*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/
/* END DP256B_PE_SPI */
/*
** ###################################################################
**
** This file was created by UNIS Processor Expert 2.97 [03.83]
** for the Freescale HCS12 series of microcontrollers.
**
** ###################################################################
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -