⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 定时计数器t0作定时应用技术.mht

📁 一些C语言单片机程序
💻 MHT
📖 第 1 页 / 共 5 页
字号:
        style=3D"FONT: 7pt 'Times New =
Roman'">      =20
        </SPAN></SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=B0=D1=A1=B0=B5=A5=C6=AC=BB=FA=CF=B5=CD=B3=A1=B1=C7=F8=D3=F2=D6=D0=
=B5=C4</SPAN><SPAN=20
        lang=3DEN-US>P1.0</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=AD</SPAN><SPAN=20
        lang=3DEN-US>P1.3</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=D3=C3=B5=BC=CF=DF=C1=AC=BD=D3=B5=BD=A1=B0=B0=CB=C2=B7=B7=A2=B9=E2=
=B6=FE=BC=AB=B9=DC=D6=B8=CA=BE=C4=A3=BF=E9=A1=B1=C7=F8=D3=F2=D6=D0=B5=C4<=
/SPAN><SPAN=20
        lang=3DEN-US>L1</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=AD</SPAN><SPAN=20
        lang=3DEN-US>L4</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=C9=CF</SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"MARGIN-LEFT: 1cm; TEXT-INDENT: -1cm; mso-list: l1 =
level1 lfo2; tab-stops: list 1.0cm"><B=20
        style=3D"mso-bidi-font-weight: normal"><I=20
        style=3D"mso-bidi-font-style: normal"><SPAN lang=3DEN-US=20
        style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =D3=D7=D4=B2; =
mso-hansi-font-family: =CB=CE=CC=E5">4=A3=AE<SPAN=20
        style=3D"FONT: 7pt 'Times New =
Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN></SPAN><SPAN=20
        style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =D3=D7=D4=B2; =
mso-hansi-font-family: =
=CB=CE=CC=E5">=B3=CC=D0=F2=C9=E8=BC=C6=C4=DA=C8=DD<SPAN=20
        lang=3DEN-US><O:P> </O:P></SPAN></SPAN></I></B></P>
        <P class=3DMsoNormal=20
        style=3D"MARGIN-LEFT: 57pt; TEXT-INDENT: -36pt; mso-list: l1 =
level2 lfo2; tab-stops: list 57.0pt"><SPAN=20
        lang=3DEN-US=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=A81=A3=AE<SPAN=20
        style=3D"FONT: 7pt 'Times New =
Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN></SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=D3=C9=D3=DA=B2=C9=D3=C3=D6=D0=B6=CF=B7=BD=CA=BD=C0=B4=CD=EA=B3=C9=
=A3=AC=D2=F2=B4=CB=A3=AC=B6=D4=D3=DA=D6=D0=B6=CF=D4=B4=B1=D8=D0=EB=CB=FC=B5=
=C4=D6=D0=B6=CF=C8=EB=BF=DA=B5=D8=D6=B7=A3=AC=B6=D4=D3=DA=B6=A8=CA=B1</SP=
AN><SPAN=20
        lang=3DEN-US>/</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=BC=C6=CA=FD=C6=F7</SPAN><SPAN=20
        lang=3DEN-US>T0</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=C0=B4=CB=B5=A3=AC=D6=D0=B6=CF=C8=EB=BF=DA=B5=D8=D6=B7=CE=AA</SPA=
N><SPAN=20
        lang=3DEN-US>000BH</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=AC=D2=F2=B4=CB=D4=DA=D6=D0=B6=CF=C8=EB=BF=DA=B5=D8=B7=BD=BC=D3=
=C8=EB=B3=A4=CC=F8=D7=AA=D6=B8=C1=EE=C0=B4=D6=B4=D0=D0=D6=D0=B6=CF=B7=FE=CE=
=F1=B3=CC=D0=F2=A1=A3=CA=E9=D0=B4=BB=E3=B1=E0=D4=B4=B3=CC=D0=F2=B8=F1=CA=BD=
=C8=E7=CF=C2=CB=F9=CA=BE=A3=BA</SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
        </SPAN>ORG</SPAN><SPAN=20
        style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times =
New Roman'">=A1=A1</SPAN><SPAN=20
        lang=3DEN-US style=3D"FONT-SIZE: 9pt">00H<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
        </SPAN>LJMP</SPAN><SPAN=20
        style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times =
New Roman'">=A1=A1</SPAN><SPAN=20
        lang=3DEN-US style=3D"FONT-SIZE: 9pt">START<O:P> =
</O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
        </SPAN>ORG</SPAN><SPAN=20
        style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times =
New Roman'">=A1=A1</SPAN><SPAN=20
        lang=3DEN-US style=3D"FONT-SIZE: 9pt">0BH<SPAN=20
        style=3D"mso-tab-count: =
1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN>;</SPAN><SPAN=20
        style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times =
New Roman'">=B6=A8=CA=B1</SPAN><SPAN=20
        lang=3DEN-US style=3D"FONT-SIZE: 9pt">/</SPAN><SPAN=20
        style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times =
New Roman'">=BC=C6=CA=FD=C6=F7</SPAN><SPAN=20
        lang=3DEN-US style=3D"FONT-SIZE: 9pt">T0</SPAN><SPAN=20
        style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times =
New Roman'">=D6=D0=B6=CF=C8=EB=BF=DA=B5=D8=D6=B7</SPAN><SPAN=20
        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN=20
        style=3D"mso-tab-count: =
1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN>LJMP INT_T0<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt">START:<SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
        </SPAN>NOP<SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN>;</SPAN><SPAN=20
        style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times =
New Roman'">=D6=F7=B3=CC=D0=F2=BF=AA=CA=BC</SPAN><SPAN=20
        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN=20
        style=3D"mso-tab-count: =
1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN>.<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN=20
        style=3D"mso-tab-count: =
1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN>.<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt">&nbsp;<O:P> =
</O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt">INT_T0:<SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
        </SPAN>PUSH ACC<SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN>;</SPAN><SPAN=20
        style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times =
New Roman'">=B6=A8=CA=B1</SPAN><SPAN=20
        lang=3DEN-US style=3D"FONT-SIZE: 9pt">/</SPAN><SPAN=20
        style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times =
New Roman'">=BC=C6=CA=FD=C6=F7</SPAN><SPAN=20
        lang=3DEN-US style=3D"FONT-SIZE: 9pt">T0</SPAN><SPAN=20
        style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times =
New Roman'">=D6=D0=B6=CF=B7=FE=CE=F1=B3=CC=D0=F2</SPAN><SPAN=20
        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
        </SPAN>PUSH PSW<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN=20
        style=3D"mso-tab-count: =
1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN>.<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN=20
        style=3D"mso-tab-count: =
1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN>.<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
        </SPAN>POP PSW<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
        </SPAN>POP ACC<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
        </SPAN>RETI<SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN>;</SPAN><SPAN=20
        style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times =
New Roman'">=D6=D0=B6=CF=B7=FE=CE=F1=B3=CC=D0=F2=B7=B5=BB=D8</SPAN><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN=20
        style=3D"mso-tab-count: =
1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN>END<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"MARGIN-LEFT: 57pt; TEXT-INDENT: -36pt; mso-list: l1 =

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -