mFrame
載入中...
搜尋中...
無符合項目
CorePulseWidthChannel.h
1
7#ifndef MCXA153_153A4830_9F0E_43C3_B7CB_86B4AA2233F1
8#define MCXA153_153A4830_9F0E_43C3_B7CB_86B4AA2233F1
9
10/* ***************************************************************************************
11 * Include
12 */
13#include "mframe.h"
14
15//----------------------------------------------------------------------------------------
16#include "./../core/CorePulseWidth.h"
17
18//----------------------------------------------------------------------------------------
19
20/* ***************************************************************************************
21 * Namespace
22 */
23namespace mcxa153::core {
24 class CorePulseWidthChannel;
25} // namespace mcxa153::core
26
27/* ***************************************************************************************
28 * Class/Interface/Struct/Enum
29 */
30
122 /* *************************************************************************************
123 * Variable
124 */
125 public:
179
240
241 /* *************************************************************************************
242 * Abstract Method
243 */
244
245 /* *************************************************************************************
246 * Construct Method
247 */
248 public:
335
420 virtual ~CorePulseWidthChannel(void) override;
421
422 /* *************************************************************************************
423 * Operator Method
424 */
425
426 /* *************************************************************************************
427 * Override Method - hal::counter::PulseWidthChannel
428 */
429 public:
546 virtual bool setPercent(float percent) override;
547
671 virtual bool getPeriod(float& result) override;
672
673 /* *************************************************************************************
674 * Public Method
675 */
676
677 /* *************************************************************************************
678 * Protected Method
679 */
680
681 /* *************************************************************************************
682 * Private Method
683 */
684
685 /* *************************************************************************************
686 * Static Variable
687 */
688
689 /* *************************************************************************************
690 * Static Method
691 */
692};
693
694/* ***************************************************************************************
695 * End of file
696 */
697
698#endif /* MCXA153_153A4830_9F0E_43C3_B7CB_86B4AA2233F1 */
MCXA153 單一 PWM 通道控制類別
Definition CorePulseWidthChannel.h:121
const CorePulseWidth::Channel vChannel
PWM 輸出通道編號
Definition CorePulseWidthChannel.h:239
CorePulseWidthChannel(core::CorePulseWidth &port, CorePulseWidth::Channel channel)
建構 PWM 通道控制物件
virtual bool getPeriod(float &result) override
查詢 PWM 週期時間
virtual ~CorePulseWidthChannel(void) override
銷毀 PWM 通道控制物件
virtual bool setPercent(float percent) override
設定此通道的 PWM 占空比
mcxa153::core::CorePulseWidth & vPort
底層 PWM 控制器參考
Definition CorePulseWidthChannel.h:178
MCXA153 脈衝寬度調變 (PWM) 控制類別
Definition CorePulseWidth.h:103
Channel
CTIMER 匹配通道選擇枚舉
Definition CorePulseWidth.h:198
物件基底類別
Definition Object.h:63
Definition glikey/Mask.h:22
[Interface] 脈寬計數器通道介面定義
Definition PulseWidth.h:90