AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: int32_t AG903_PgpMgrSetParamVRAMInputBMU(AG903_PgpMgrVRAMInputHandle *handle, uint32_t bmu) 2: { 3: 4: if ((handle == NULL) || (handle->id != AG903_PGP_MGR_VRAM_INPUT_HANDLE_ID)) { 5: return -AG903_EINVAL; 6: } 7: 8: 9: switch (bmu) { 10: case AG903_PGP_MGR_VI_BMU_NONE: 11: case AG903_PGP_MGR_VI_BMU_ENABLE: 12: case AG903_PGP_MGR_VI_BMU_ENABLE_ODD: 13: break; 14: default: 15: return -AG903_EINVAL; 16: } 17: 18: 19: if (handle->port_no != -1) { 20: return -AG903_EBUSY; 21: } 22: 23: 24: handle->bmu = bmu; 25: handle->is_dirty = true; 26: return AG903_ENONE; 27: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.