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 111

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

Line No. Rev Author Line
1 106 olivier.gi
//----------------------------------------------------------------------------
2
// Copyright (C) 2001 Authors
3
//
4
// This source file may be used and distributed without restriction provided
5
// that this copyright statement is not removed from the file and that any
6
// derivative work contains the original copyright notice and the associated
7
// disclaimer.
8
//
9
// This source file is free software; you can redistribute it and/or modify
10
// it under the terms of the GNU Lesser General Public License as published
11
// by the Free Software Foundation; either version 2.1 of the License, or
12
// (at your option) any later version.
13
//
14
// This source is distributed in the hope that it will be useful, but WITHOUT
15
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
17
// License for more details.
18
//
19
// You should have received a copy of the GNU Lesser General Public License
20
// along with this source; if not, write to the Free Software Foundation,
21
// Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22
//
23
//----------------------------------------------------------------------------
24
// 
25
// *File Name: omsp_timerA_defines.v
26
// 
27
// *Module Description:
28
//                      omsp_timerA Configuration file
29
//
30
// *Author(s):
31
//              - Olivier Girard,    olgirard@gmail.com
32
//
33
//----------------------------------------------------------------------------
34
// $Rev: 103 $
35
// $LastChangedBy: olivier.girard $
36
// $LastChangedDate: 2011-03-05 15:44:48 +0100 (Sat, 05 Mar 2011) $
37
//----------------------------------------------------------------------------
38
//`define OMSP_TA_NO_INCLUDE
39
`ifdef OMSP_TA_NO_INCLUDE
40
`else
41
`include "omsp_timerA_undefines.v"
42
`endif
43
 
44
//----------------------------------------------------------------------------
45
// TIMER A CONFIGURATION
46
//----------------------------------------------------------------------------
47
 
48
 
49
 
50
//==========================================================================//
51
//==========================================================================//
52
//==========================================================================//
53
//==========================================================================//
54
//=====        SYSTEM CONSTANTS --- !!!!!!!! DO NOT EDIT !!!!!!!!      =====//
55
//==========================================================================//
56
//==========================================================================//
57
//==========================================================================//
58
//==========================================================================//
59
 
60
// Timer A: TACTL Control Register
61
`define TASSELx     9:8
62
`define TAIDx       7:6
63
`define TAMCx       5:4
64
`define TACLR       2
65
`define TAIE        1
66
`define TAIFG       0
67
 
68
// Timer A: TACCTLx Capture/Compare Control Register
69
`define TACMx      15:14
70
`define TACCISx    13:12
71
`define TASCS      11
72
`define TASCCI     10
73
`define TACAP       8
74
`define TAOUTMODx   7:5
75
`define TACCIE      4
76
`define TACCI       3
77
`define TAOUT       2
78
`define TACOV       1
79
`define TACCIFG     0

powered by: WebSVN 2.1.0

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