How to write a custom reset() function in C for AVR-Studio?
问题 so I've been assigned the task of writing a custom reset() function for an AVR compilation. I'm given this info - "Atmega128 and Pic24e have the reset interrupt at the program address 0x0. Write a function reset() to reset a program. I've also heard an easy way to force your system to reboot is by sending it into an infinite loop. Call me crazy, but is this as simple as writing: function reset(){ goto 0x00000000; } Not sure if you can do that, and not looking for a complex explanation, as I'm