SFBHWPinsBoard.h File Reference

Board-specific pin function definitions. More...

#include "lpc/fio.h"
#include "lpc/timer.h"

Include dependency graph for SFBHWPinsBoard.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void reenterBootloader () __attribute__((noreturn))
 Attempt to reenter the secondary bootloader.
void reenterBrainstem () __attribute__((noreturn))
 Attempt to reenter the tertiary bootloader.
void _dieOnBoard_ (u32 blinkCode, const char *file, int lineno) __attribute__((noreturn))
 Internal method called during failed assertions and other fatal events.


Detailed Description

Board-specific pin function definitions.

Author:
David H. Ackley.
Date:
(C) 2008 All rights reserved.
Code License:
The GNU Lesser General Public License
License Note:
All code samples shown in documentation are placed into the public domain.

Function Documentation

void reenterBootloader (  ) 

Attempt to reenter the secondary bootloader.

Normally this is performed by branching to address 0, but if the watchdog timer has been enabled that won't work, so this method defers to watchdogSuicide in that case.

Examples:
eeprom3.cpp, and speed2.cpp.

void reenterBrainstem (  ) 

Attempt to reenter the tertiary bootloader.

Normally this is performed by branching to address 0x2200, where the tertiary bootloader starts, but if the watchdog timer has been enabled that won't work, so this method turns into reenterBootloader in that case.


Generated on Fri Apr 22 06:55:28 2011 for SFB by doxygen 1.5.9