AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: int32_t AG903_PgpMgrSetConfigThreshold1Bit(AG903_PgpMgrPipelineHandle *handle, uint32_t h, uint32_t l, uint32_t x, uint32_t hmax, uint32_t hmin, uint32_t lmax, uint32_t lmin) 2: { 3: 4: if ((handle == NULL) || (handle->id != AG903_PGP_MGR_PIPELINE_HANDLE_ID)) { 5: return -AG903_EINVAL; 6: } 7: 8: 9: handle->thr_thr1_h = h & THR_MSK_L_MASK; 10: handle->thr_thr1_l = l & THR_MSK_H_MASK; 11: handle->thr_thr1_x = x & THR_MSK_X_MASK; 12: handle->thr_thr1_hmax = hmax & THR_MSK_HMAX_MASK; 13: handle->thr_thr1_hmin = hmin & THR_MSK_HMIN_MASK; 14: handle->thr_thr1_lmax = lmax & THR_MSK_LMAX_MASK; 15: handle->thr_thr1_lmin = lmin & THR_MSK_LMIN_MASK; 16: handle->is_config_dirty[AG903_PGP_MGR_CONFIG_THR_1BIT] = true; 17: handle->is_dirty = true; 18: return AG903_ENONE; 19: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.