OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [HCS12_GCC_banked/] [gelfunc.c] - Blame information for rev 609

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

Line No. Rev Author Line
1 588 jeremybenn
/* gelfunc.c -- functions from GEL 1.6
2
   Author Jefferson Smith, Robotronics Inc.
3
 
4
*/
5
 
6
#include "asm-m68hcs12/ports_def.h"
7
void cop_reset (void);
8
void cop_optional_reset (void);
9
 
10
/* Reset the COP.  */
11
void
12
cop_reset (void)
13
{
14
  ARMCOP = 0x55;
15
  ARMCOP = 0xAA;
16
}
17
 
18
void
19
cop_optional_reset (void)
20
{
21
#if defined(M6811_USE_COP) && M6811_USE_COP == 1
22
  cop_reset ();
23
#endif
24
}
25
 

powered by: WebSVN 2.1.0

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