DSPCAN通讯程序中文说明.docVIP

  • 10
  • 0
  • 约9.65千字
  • 约 6页
  • 2021-06-24 发布于山东
  • 举报
#include DSP2833x_Device.h // DSP2833x Headerfile Include File #include DSP2833x_Examples.h // DSP2833x Examples Include File // Prototype statements for functions found within this file. void mailbox_check ( int32 T1, int32 T2, int32 T3); void mailbox_read ( int16 i); Global variable for this example Uint32 ErrorCount; Uint32 PassCount; Uint32 MessageReceivedCount; Uint32 TestMbox1 = 0; Uint32 TestMbox2 = 0; Uint32 TestMbox3 = 0; void main ( void ) { Uint16 j; // eCAN控制寄存器需要使用 32 位的读 / 写访问。 因此,为此示例创建一组影子寄存器。 这些影子寄存器将用于 确保访问是 32 位而不是 16 位。 struct ECAN_REGS ECanbShadow; // 步骤 1. 初始化系统控制:

文档评论(0)

1亿VIP精品文档

相关文档