全てを折りたたみ
AG903ライブラリリファレンス
AG903_UARTPrmGetIntType 関数
uartprm.c
UART Primitive
Body Source
UARTnIIRのレジスタRead
Syntax
C++
void
AG903_UARTPrmGetIntType
(uint8_t
ch
, uint8_t*
type
);
ファイル
uartprm.c
引数
引数
説明
uint8_t ch
[in] UARTチャネル
uint8_t* type
[out] 割込み種別
返値
void
説明
UARTnIIRのレジスタRead
本文ソース
コピコード
1:
void
AG903_UARTPrmGetIntType(uint8_t ch, uint8_t* type) 2: { 3: uint8_t val; 4: 5:
ASSERT
(
AG903_UART_CH_NUM
> ch); 6: val = AG903_UART_READ_REG(ch,IIR); 7: (*type) = (val&0x0F); 8: 9:
return
; 10: }
グループ
UART Primitive
リンク
uartprm.c
,
UART Primitive
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム