Program the uPP interrupt enable set register (UPIES) to interrupt generation for the desired events.
Register an interrupt service routine (ISR) if desired; otherwise, polling is required.
这句话中POLLING指的是什么?具体点,谢谢!
Victorsunhao:
回复 Shine:
谢谢!
Victorsunhao:
回复 Shine:
在TI的用户手册中,关于UPP这一章,提到例程,interrupt_status = UPIER
if (interrupt_status.EOLI){UPIER.EOLI = 1 // clear EOLI// Handle EOLI…}if (interrupt_status.EOWI){UPIER.EOWI = 1 // clear EOWI// Handle EOWI…}
interrupt_status是什么数据类型,怎么可以进行位域操作??
rookiecalf:
回复 Victorsunhao:
victor sun1
在TI的用户手册中,关于UPP这一章,提到例程,interrupt_status = UPIER
if (interrupt_status.EOLI){UPIER.EOLI = 1 // clear EOLI// Handle EOLI…}if (interrupt_status.EOWI){UPIER.EOWI = 1 // clear EOWI// Handle EOWI…}
interrupt_status是什么数据类型,怎么可以进行位域操作??