AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: int32_t AG903_SSPMgrSetSpdifUbitALL(AG903_SSPMgrHandle* handle, AG903_SSPMgrSpdifUbit* ubit) 2: { 3: int32_t retval = AG903_ENONE; 4: uint8_t loop; 5: uint8_t ch; 6: 7: retval = SSPMgr_CheckHandle(handle, &ch); 8: if(AG903_ENONE != retval) { 9: return -AG903_EINVAL; 10: } 11: if(NULL == ubit) { 12: return -AG903_EINVAL; 13: } 14: 15: for(loop=0; loop<AG903_SSP_USERBIT_REGMAX; loop++) { 16: AG903_SSPPrmSetUserBit(ch, loop, ubit->userbit[loop]); 17: } 18: 19: return retval; 20: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.