请教语句含义void Timer2_Init (void)是什么函数?{\x05TMR2RLL = T2_VAL;\x05TMR2RLH = T2_VAL>>8;经常看到>>8,\x05TR2 = 1;\x05ET2 = 1;

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 13:02:59
请教语句含义voidTimer2_Init(void)是什么函数?{\x05TMR2RLL=T2_VAL;\x05TMR2RLH=T2_VAL>>8;经常看到>>8,\x05TR2=1;\x05ET2

请教语句含义void Timer2_Init (void)是什么函数?{\x05TMR2RLL = T2_VAL;\x05TMR2RLH = T2_VAL>>8;经常看到>>8,\x05TR2 = 1;\x05ET2 = 1;
请教语句含义
void Timer2_Init (void)是什么函数?
{
\x05TMR2RLL = T2_VAL;
\x05TMR2RLH = T2_VAL>>8;经常看到>>8,
\x05TR2 = 1;
\x05ET2 = 1;

请教语句含义void Timer2_Init (void)是什么函数?{\x05TMR2RLL = T2_VAL;\x05TMR2RLH = T2_VAL>>8;经常看到>>8,\x05TR2 = 1;\x05ET2 = 1;
void Timer2_Init (void)是中断函数,这里是定时器2中断
T2_VAL>>8:将T2_VAL的的数右移8位