void ataOutByte (UINT32 port, UINT8 data)
{
*((volatile UINT8 *)port) = data;
}
void ataOutWordString (UINT32 port, UINT16 *pData, int count)
while(count--)
*((volatile UINT16 *)port) = *pData++;
void ataOutLongString (UINT32 port, UINT32 *pData, int count)
*((volatile UINT32 *)port) = *pData++;
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|小黑屋|手机版|PCB设计论坛|EDA论坛|PCB论坛网 ( 沪ICP备05006956号-1 )
GMT+8, 2025-5-15 16:04 , Processed in 0.133947 second(s), 19 queries .
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.