定时器初始化结构体句柄,初始化时请定义该句柄,并用其地址来传参。 更多...
#include <STC8x_TIMER.h>
成员变量 | |
uint8_t | SysClkDiv |
TIMERType_Type | Type |
TIMERMode_Type | Mode |
TIMERTCycle_Type | TCycle |
BOOL | ClkOut |
uint32_t | Time |
BOOL | Run |
定时器初始化结构体句柄,初始化时请定义该句柄,并用其地址来传参。
The timer initializes the structure handle. When initializing, please define the handle and use its address to pass parameters.
BOOL ClkOut |
定时器可编程时钟输出控制位。Programmable clock output.
TIMERMode_Type Mode |
定时器工作模式。Working mode.
BOOL Run |
定时器运行控制位。Operation control bit.
uint8_t SysClkDiv |
定时器时钟源八分频。system clock division to timer use.
TIMERTCycle_Type TCycle |
定时器指令周期。Instruction cycle.
uint32_t Time |
定时器定时时间。Loading initial value.
TIMERType_Type Type |
定时器类型状态。timer type.