AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: int32_t AG903_DSPMgrGetPortSel(AG903_DSPMgrHandle *handle, uint8_t *sel) 2: { 3: int32_t rc = AG903_ENONE; 4: uint8_t ch; 5: uint32_t portsel; 6: 7: if ((handle == NULL) || (sel == NULL)) 8: return -AG903_EINVAL; 9: 10: rc = DSPMgrCheckHandle(handle, &ch); 11: 12: if (rc == AG903_ENONE) { 13: AG903_VODPrmGetPORTSEL(ch, &portsel); 14: *sel = portsel & 0xFF; 15: } 16: 17: return rc; 18: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.