mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-21 01:00:35 -05:00
This commit is contained in:
parent
5c64e1fad9
commit
4baf272c92
5062 changed files with 1554463 additions and 0 deletions
25
20100923-V6.1.0-RC2/Demo/HCS12_GCC_banked/gelfunc.c
Normal file
25
20100923-V6.1.0-RC2/Demo/HCS12_GCC_banked/gelfunc.c
Normal 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
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue