全てを折りたたみ
AG903ライブラリリファレンス
AG903_GPIOPrmGetType 関数
gpioprm.c
GPIO Primitive
Body Source
GPIOnIOTYPEのレジスタRead
Syntax
C++
void
AG903_GPIOPrmGetType
(uint8_t
ch
, uint32_t*
type
);
ファイル
gpioprm.c
引数
引数
説明
uint8_t ch
[in] Portチャネル
uint32_t* type
[out] タイプ(0:通常, 1:オープンドレイン)
返値
void
説明
GPIOnIOTYPEのレジスタRead
本文ソース
コピコード
1:
void
AG903_GPIOPrmGetType(uint8_t ch, uint32_t* type) 2: { 3:
ASSERT
(
AG903_GPIO_CH_NUM
> ch); 4: 5: (*type) =
AG903_GPIOn
(ch)->IOTYPE; 6:
return
; 7: }
グループ
GPIO Primitive
リンク
gpioprm.c
,
GPIO Primitive
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム