bikashh
Full Member level 5
- Joined
- Nov 28, 2009
- Messages
- 264
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,298
- Location
- india
- Activity points
- 3,132
Hello friends,
I have a question on PIC16F1936, I am using hitec-c compiler and using library read and write functionality for internal EEPROM. My question is, should I disable global interrupt and peripheral interrupts when using read and write functionality for internal EEPROM. I've seen in some codes from the net disabling GIE with EEPROM but they are using pic compiler. Can somebody suggest what to do.
I am afraid the UART interrupt may corrupt the data when writing process to EEPROM is on.
Thanks
I have a question on PIC16F1936, I am using hitec-c compiler and using library read and write functionality for internal EEPROM. My question is, should I disable global interrupt and peripheral interrupts when using read and write functionality for internal EEPROM. I've seen in some codes from the net disabling GIE with EEPROM but they are using pic compiler. Can somebody suggest what to do.
I am afraid the UART interrupt may corrupt the data when writing process to EEPROM is on.
Thanks
Last edited: