New demo files for HCS12 GCC port.

This commit is contained in:
Richard Barry 2006-05-27 13:53:15 +00:00
parent b6df57c7e3
commit 215d93aa3d
29 changed files with 3250 additions and 0 deletions

View file

@ -0,0 +1,25 @@
/* gelfunc.c -- functions from GEL 1.6
Author Jefferson Smith, Robotronics Inc.
*/
#include "asm-m68hcs12/ports_def.h"
void cop_reset (void);
void cop_optional_reset (void);
/* Reset the COP. */
void
cop_reset (void)
{
ARMCOP = 0x55;
ARMCOP = 0xAA;
}
void
cop_optional_reset (void)
{
#if defined(M6811_USE_COP) && M6811_USE_COP == 1
cop_reset ();
#endif
}