OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [HCS12_GCC_banked/] [gelfunc.c] - Rev 623

Go to most recent revision | Compare with Previous | Blame | View Log

/* 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
}
 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.