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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [rtl/] [verilog/] [periph/] [omsp_timerA_defines.v] - Blame information for rev 186

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

Line No. Rev Author Line
1 106 olivier.gi
//----------------------------------------------------------------------------
2 117 olivier.gi
// Copyright (C) 2009 , Olivier Girard
3 106 olivier.gi
//
4 117 olivier.gi
// Redistribution and use in source and binary forms, with or without
5
// modification, are permitted provided that the following conditions
6
// are met:
7
//     * Redistributions of source code must retain the above copyright
8
//       notice, this list of conditions and the following disclaimer.
9
//     * Redistributions in binary form must reproduce the above copyright
10
//       notice, this list of conditions and the following disclaimer in the
11
//       documentation and/or other materials provided with the distribution.
12
//     * Neither the name of the authors nor the names of its contributors
13
//       may be used to endorse or promote products derived from this software
14
//       without specific prior written permission.
15 106 olivier.gi
//
16 117 olivier.gi
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
21
// OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
26
// THE POSSIBILITY OF SUCH DAMAGE
27 106 olivier.gi
//
28
//----------------------------------------------------------------------------
29
// 
30
// *File Name: omsp_timerA_defines.v
31
// 
32
// *Module Description:
33
//                      omsp_timerA Configuration file
34
//
35
// *Author(s):
36
//              - Olivier Girard,    olgirard@gmail.com
37
//
38
//----------------------------------------------------------------------------
39
// $Rev: 103 $
40
// $LastChangedBy: olivier.girard $
41
// $LastChangedDate: 2011-03-05 15:44:48 +0100 (Sat, 05 Mar 2011) $
42
//----------------------------------------------------------------------------
43
//`define OMSP_TA_NO_INCLUDE
44
`ifdef OMSP_TA_NO_INCLUDE
45
`else
46
`include "omsp_timerA_undefines.v"
47
`endif
48
 
49
//----------------------------------------------------------------------------
50
// TIMER A CONFIGURATION
51
//----------------------------------------------------------------------------
52
 
53
 
54
 
55
//==========================================================================//
56
//==========================================================================//
57
//==========================================================================//
58
//==========================================================================//
59
//=====        SYSTEM CONSTANTS --- !!!!!!!! DO NOT EDIT !!!!!!!!      =====//
60
//==========================================================================//
61
//==========================================================================//
62
//==========================================================================//
63
//==========================================================================//
64
 
65
// Timer A: TACTL Control Register
66
`define TASSELx     9:8
67
`define TAIDx       7:6
68
`define TAMCx       5:4
69
`define TACLR       2
70
`define TAIE        1
71
`define TAIFG       0
72
 
73
// Timer A: TACCTLx Capture/Compare Control Register
74
`define TACMx      15:14
75
`define TACCISx    13:12
76
`define TASCS      11
77
`define TASCCI     10
78
`define TACAP       8
79
`define TAOUTMODx   7:5
80
`define TACCIE      4
81
`define TACCI       3
82
`define TAOUT       2
83
`define TACOV       1
84
`define TACCIFG     0

powered by: WebSVN 2.1.0

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