source: rtems/c/src/lib/libbsp/arm/tms570/include/tms570.h @ 9588946

4.115
Last change on this file since 9588946 was ec8f3cb, checked in by Martin Galvan <martin.galvan@…>, on 03/26/15 at 20:16:38

TMS570: Add board reset code to bsp_reset

  • Property mode set to 100644
File size: 973 bytes
Line 
1/**
2 * @file tms570.h
3 *
4 * @ingroup tms570
5 *
6 * @brief Specific register definitions according to tms570 family boards.
7 */
8
9/*
10 * Copyright (c) 2015 Taller Technologies.
11 *
12 * @author Martin Galvan <martin.galvan@tallertechnologies.com>
13 *
14 * The license and distribution terms for this file may be
15 * found in the file LICENSE in this distribution or at
16 * http://www.rtems.org/license/LICENSE.
17 */
18
19#ifndef LIBBSP_ARM_TMS570_H
20#define LIBBSP_ARM_TMS570_H
21
22#define SYSECR (*(uint32_t *)0xFFFFFFE0u) /* System Exception Control Register */
23#define ESMIOFFHR (*(uint32_t *)0xFFFFF528) /* ESM Interrupt Offset High Register */
24#define ESMSR1 (*(uint32_t *)0xFFFFF518u) /* ESM Status Register 1 */
25#define ESMSR2 (*(uint32_t *)0xFFFFF51Cu) /* ESM Status Register 2 */
26#define ESMSR3 (*(uint32_t *)0xFFFFF520u) /* ESM Status Register 3 */
27#define ESMSR4 (*(uint32_t *)0xFFFFF558u) /* ESM Status Register 4 */
28
29#define SYSECR_RESET 0x80000u
30
31#endif /* LIBBSP_ARM_TMS570_H */
Note: See TracBrowser for help on using the repository browser.