原创
McBSP读写标准用法
2007-1-28 00:56
3278
2
2
分类:
处理器与DSP
McBSP读写标准用法
static unsigned int mcbspRead(void)
{
while (!(MCBSP_rrdy(hMcbsp))) {
}
return (MCBSP_read(hMcbsp));
}
static void mcbspWrite(unsigned int outdata)
{
while (!(MCBSP_xrdy(hMcbsp))) {
}
MCBSP_write(hMcbsp, outdata);
}
文章评论(0条评论)
登录后参与讨论