X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/fe45016635e867a8a61552ae0914a63263b64185..08bccb5ea014a173bede8f06478a35465981bd28:/embedded/arch/arm/mach-lpc21xx/defines/lpcWD.h diff --git a/embedded/arch/arm/mach-lpc21xx/defines/lpcWD.h b/embedded/arch/arm/mach-lpc21xx/defines/lpcWD.h new file mode 100644 index 0000000..65f1d73 --- /dev/null +++ b/embedded/arch/arm/mach-lpc21xx/defines/lpcWD.h @@ -0,0 +1,27 @@ +/****************************************************************************** + * + * $RCSfile: lpcWD.h,v $ + * $Revision: 1.1 $ + * + * Header file for Philips LPC ARM Processors. + * Copyright 2004 R O SoftWare + * + * No guarantees, warrantees, or promises, implied or otherwise. + * May be used for hobby or commercial purposes provided copyright + * notice remains intact. + * + *****************************************************************************/ +#ifndef INC_LPC_WD_H +#define INC_LPC_WD_H + +// Watchdog Registers +typedef struct +{ + REG_8 mod; // Watchdog Mode Register + REG_8 _pad0[3]; + REG32 tc; // Watchdog Time Constant Register + REG_8 feed; // Watchdog Feed Register + REG32 tv; // Watchdog Time Value Register +} wdRegs_t; + +#endif