全てを折りたたみ
AG903ライブラリリファレンス
AG903_TIMRPrmGetCount 関数
timrprm.c
TIMR Primitive
Body Source
TIMnCNTのレジスタRead
Syntax
C++
void
AG903_TIMRPrmGetCount
(uint8_t
ch
, uint32_t*
count
);
ファイル
timrprm.c
引数
引数
説明
uint8_t ch
[in] TIMRチャネル
uint32_t* count
[out] カウント値
返値
void
説明
TIMnCNTのレジスタRead
本文ソース
コピコード
1:
void
AG903_TIMRPrmGetCount(uint8_t ch, uint32_t* count) 2: { 3:
ASSERT
(
AG903_TIMR_CH_NUM
> ch); 4:
ASSERT
(NULL != count); 5: (*count) = AG903_TIMR_READ_REGn(ch,CNT); 6:
return
; 7: }
グループ
TIMR Primitive
リンク
timrprm.c
,
TIMR Primitive
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム