Positioning 'ENABLE HIGH/DISABLE HIGH'

Status
Not open for further replies.

camerart

Well-Known Member
Hi,

Can someone tell me how and where to position ENABLE HIGH and DISABLE HIGH in a program please? Also can you clarify what they do?


Camerart.
 
Normally you enable high at the start of the program... Any high priority interrupt you have selected will now be operational.

If you have to do a "time critical task" ie writing to internal eeprom.. Then disable high is used before the write and enable high after... If you are using low priority interrupts there is enable / disable low as well..
 
Hi Ian.

I'm combining two programs together, which need to be together to work. There are only ENABLE HIGH in both programs, and as it is 'time critical' I will assume that I don't need ENABLE LOW.

Thanks.

C.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…