??? 07/21/04 13:03 Read: times |
#74580 - RE: WD in lengthy functions Responding to: ???'s previous message |
hi,
Please explain, where is the gain using setb FLG_WATCHDOG over PET_THE_PUPPY ; a macro 1) the code size. 2) disabling all interrupts (EA) is done at timer base (here: one time per ~10ms). For example, in case of usage of macro, it will disable all interrupts once and once (let say, each 2 us) during a wait loop inside which watchdog counter been reset. Maybe it is not a problem but looks ugly. Regards, Oleg |