
it0、it1这个寄存器是设置外部中断0和1的触发方式,it0、it1都为1,是边沿触发,为0是低电平触发。ex0、ex1是设计外部中断允许,ex0=1,ex1=1是允许中断,可以配合it0、it1来使用,可以不用对其进行设置,默认是0(低电平)触发。
定时器是et0和et1。
-at
at 在 (at home)
bat 蝙蝠;球棒 (Batman)
cat 猫 (cute cat)
fat 胖的 (fat cat)
hat 帽子 (beautiful hat)
mat 垫子 (door mat)
pat 轻拍 (to pat me on the back)
rat 老鼠 (fat rat)
sat 坐(sit 的过去式)
-et
bet 打赌 (to bet on football 赌球)
get 得到;收到 (get a gift)
let 允许;让(let me go)
net 网 (fishing net)
pet 宠物 (feed the pet)
set 设置;安置 (set an alarm)
vet 兽医(an old vet)
-it
it 它 (eat it)
fit 健康的(keep fit)
hit 打(hit me)
kit 成套工具(fist kit)
lit 点燃(light 过去式)
pit 深坑(A fall into a pit, a gain in your wit)
sit 坐(sit down)
wit 才智(A fall into a pit, a gain in your wit)
TF:Timer overFlow
TR:Timer Run
IE:Interrupt Enable
IT:Interrupt Touch
TI:
RI
EA:Enable All
ES:Enable Serial communication
其余相同
PS:Priority Serial communication
IT:interrupt type control
IE: interrupt enable
TF: Timer overflow flag
EX: external interrupt enable
ET: timer interrupt enable
PX: external interrupt priority
PT: Timer interrupt priority
它们只是一个名字而已,取的一个类似代号,并不是什么全称的简写, 有T的呢是timer的简写,也就是定时器相关会打上这个T,但并非所有,X(EXTERNAL)表示外部中断口的,E使能ENABLE,P(PRIORITY),F(FLAG),T:triggering I:(interrupt) 这里只是说明一下,上面他写的也没错。
BT:下载时用的种子,Bit Test(位检测指令)
ET:外星人,**《外星人》(ET The Extra-Terrestrial)
IT:信息产业,Information Technology
以上就是关于单片机中,外部中断的设置方式IT1和IT0有和区别全部的内容,包括:单片机中,外部中断的设置方式IT1和IT0有和区别、常见相似词汇总结:-at; -et; -it.、51单片机中断这节中TCON:TF,TR,IE,IT;SCON:TI,RI;IE:EA,ES,ET,EX;IP:PS,PT,PX;的英文翻译是什么麻烦各位等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)