📄 mcbsp1cfg_c.c
字号:
/*
* Copyright 2002 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/* "@(#) DSP/BIOS 4.80.208 12-06-02 (barracuda-l19)" */
/* Do *not* directly modify this file. It was */
/* generated by the Configuration Tool; any */
/* changes risk being overwritten. */
/* INPUT mcbsp1.cdb */
/* Include Header File */
#include "mcbsp1cfg.h"
#pragma CODE_SECTION(CSL_cfgInit,".text:CSL_cfgInit")
/* Config Structures */
MCBSP_Config MCBSP1 = {
0x00008000, /* Serial Port Control Reg. (SPCR) */
0x000000A0, /* Receiver Control Reg. (RCR) */
0x000000A0, /* Transmitter Control Reg. (XCR) */
0x203F1F0F, /* Sample-Rate Generator Reg. (SRGR) */
0x00000000, /* Multichannel Control Reg. (MCR) */
0x00000000, /* Receiver Channel Enable(RCER) */
0x00000000, /* Transmitter Channel Enable(XCER) */
0x00000A00 /* Pin Control Reg. (PCR) */
};
/* Handles */
MCBSP_Handle hMcbsp1;
/*
* ======== CSL_cfgInit() ========
*/
void CSL_cfgInit()
{
hMcbsp1 = MCBSP_open(MCBSP_DEV1, MCBSP_OPEN_RESET);
MCBSP_config(hMcbsp1, &MCBSP1);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -