📄 talkthrough.h
字号:
#ifndef __Talkthrough_DEFINED
#define __Talkthrough_DEFINED
//--------------------------------------------------------------------------//
// single vs dual core operation //
//--------------------------------------------------------------------------//
#define RUN_ON_SINGLE_CORE // comment out if dual core operation is desired
//--------------------------------------------------------------------------//
// Header files //
//--------------------------------------------------------------------------//
#include <sys\exception.h>
#include <cdefBF561.h>
#include <ccblkfn.h>
#include <sysreg.h>
// SPORT0 word length
#define SLEN_32 0x001f
#define SLEN_24 0x0018
// DMA flow mode
// DMA flow mode
#define FLOW_1 0x1000
//--------------------------------------------------------------------------//
// Global variables //
//--------------------------------------------------------------------------//
extern volatile int iRxBuffer1[];
extern volatile int iTxBuffer1[];
extern int iChannel00,iChannel01;
extern int iChannel10,iChannel11;
//--------------------------------------------------------------------------//
// Prototypes //
//--------------------------------------------------------------------------//
// in file Initialisation.c
void Init_EBIU(void);
void Init_Flash(void);
void Initwm8731(void);
void Init_Sport0(void);
void Init_DMA(void);
void Init_Sport_Interrupts(void);
void Enable_DMA_Sport(void);
void Enable_DMA_Sport0(void);
// in file Process_data.c
void Process_Data(void);
// in file ISRs.c
EX_INTERRUPT_HANDLER(Sport0_RX_ISR);
#endif //__Talkthrough_DEFINED
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -