upsd_flash.c These functions are provided to help you develop your initial code. They are optimized for speed rather that size. As a result, you will see very few nested function calls. If speed is not critical, you can use function calls for common tasks (like dat polling after writing a byte to Flash) The penalty is the extra processor time to make the nested calls.