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指的是什么?具体点,谢谢!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
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指的是什么?具体点,谢谢!
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是什么数据类型,怎么可以进行位域操作??
那是结构体类型,结构体成员设定成bit型,你可以具体查看该数据的定义