AG903ライブラリリファレンス
Body Source
AG903_SPCPrmGetSoftResetSetup 関数
本文ソース
コピコード
1:
void
AG903_SPCPrmGetSoftResetSetup(uint8_t* wait, uint8_t* active) 2: { 3: uint32_t val; 4: 5:
ASSERT
(NULL != wait); 6:
ASSERT
(NULL != active); 7: 8: val =
AG903_SPC
->SOFTRESET_SETUP; 9: (*wait) = (uint8_t)((val &
AG903_SPC_SOFTRESET_SETUP_SWRST_WAIT_MSK
) >>
AG903_SPC_SOFTRESET_SETUP_SWRST_WAIT_POS
); 10: (*active) = (uint8_t)((val &
AG903_SPC_SOFTRESET_SETUP_SWRST_ACTIVE_MSK
) >>
AG903_SPC_SOFTRESET_SETUP_SWRST_ACTIVE_POS
); 11: 12:
return
; 13: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム