AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: int32_t AG903_SSPMgrDisableDmaMode(AG903_SSPMgrHandle* handle) 2: { 3: int32_t retval = AG903_ENONE; 4: int32_t result; 5: _Bool idle; 6: uint8_t ch; 7: 8: result = SSPMgr_CheckHandle(handle, &ch); 9: if(AG903_ENONE != result) { 10: return -AG903_EINVAL; 11: } 12: idle = SSPMgr_CheckIdle(ch); 13: if(true != idle) { 14: return -AG903_EBUSY; 15: } 16: 17: SspChStat[ch].dma = 0; 18: 19: return retval; 20: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.