AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: int32_t AG903_UARTMgrStopSend(AG903_UARTMgrHandle* handle) 2: { 3: int32_t retval = AG903_ENONE; 4: int32_t result; 5: uint8_t ch; 6: 7: result = UARTMgr_CheckHandle(handle, &ch); 8: if(AG903_ENONE != result) { 9: return -AG903_EINVAL; 10: } 11: 12: AG903_UARTPrmDisableInt(ch, AG903_UART_IER_THREMP_BIT); 13: UartChStat[ch].snd.stat = AG903_UART_STAT_IDLE; 14: 15: return retval; 16: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.