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