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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-arm/] [arch-epxa/] [watchdog00.h] - Blame information for rev 1774

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

Line No. Rev Author Line
1 1276 phoenix
#ifndef __WATCHDOG_00_H
2
#define __WATCHDOG_00_H
3
 
4
/*
5
 * Register definitions for the watchdog
6
 */
7
 
8
/*
9
 * Copyright (c) Altera Corporation 2000.
10
 * All rights reserved.
11
 */
12
 
13
#define WDOG_CR(base_addr) (WATCHDOG00_TYPE (base_addr  ))
14
#define WDOG_CR_LK_MSK (0x1)
15
#define WDOG_CR_LK_OFST (0)
16
#define WDOG_CR_LK_ENABLE (0x1)
17
#define WDOG_CR_TRIGGER_MSK (0x3FFFFFF0)
18
#define WDOG_CR_TRIGGER_OFST (4)
19
 
20
#define WDOG_COUNT(base_addr) (WATCHDOG00_TYPE (base_addr  + 0x4 ))
21
#define WDOG_COUNT_MSK (0x3FFFFFFF)
22
 
23
#define WDOG_RELOAD(base_addr) (WATCHDOG00_TYPE (base_addr  + 0x8 ))
24
#define WDOG_RELOAD_MAGIC_1 (0xA5A5A5A5)
25
#define WDOG_RELOAD_MAGIC_2 (0x5A5A5A5A)
26
 
27
#endif /* __WATCHDOG_00_H */

powered by: WebSVN 2.1.0

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