Line 29... |
Line 29... |
//
|
//
|
// *Author(s):
|
// *Author(s):
|
// - Olivier Girard, olgirard@gmail.com
|
// - Olivier Girard, olgirard@gmail.com
|
//
|
//
|
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
// $Rev: 104 $
|
// $Rev: 109 $
|
// $LastChangedBy: olivier.girard $
|
// $LastChangedBy: olivier.girard $
|
// $LastChangedDate: 2011-03-06 21:02:27 +0100 (Sun, 06 Mar 2011) $
|
// $LastChangedDate: 2011-03-27 13:49:47 +0200 (Sun, 27 Mar 2011) $
|
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
//`define OMSP_NO_INCLUDE
|
//`define OMSP_NO_INCLUDE
|
`ifdef OMSP_NO_INCLUDE
|
`ifdef OMSP_NO_INCLUDE
|
`else
|
`else
|
`include "openMSP430_undefines.v"
|
`include "openMSP430_undefines.v"
|
Line 112... |
Line 112... |
//`define DBG_HWBRK_1
|
//`define DBG_HWBRK_1
|
//`define DBG_HWBRK_2
|
//`define DBG_HWBRK_2
|
//`define DBG_HWBRK_3
|
//`define DBG_HWBRK_3
|
|
|
|
|
|
// Defines the debugger CPU_CTL.RST_BRK_EN reset value (CPU break on PUC reset)
|
|
//
|
|
// When defined, this concretely bring the CPU to break after a PUC
|
|
// occurrence by default. This is typically usefull when the program
|
|
// memory can only be initialized through the serial debug interface.
|
|
//
|
|
//`define DBG_RST_BRK_EN
|
|
|
|
|
//==========================================================================//
|
//==========================================================================//
|
//==========================================================================//
|
//==========================================================================//
|
//==========================================================================//
|
//==========================================================================//
|
//==========================================================================//
|
//==========================================================================//
|
//===== SYSTEM CONSTANTS --- !!!!!!!! DO NOT EDIT !!!!!!!! =====//
|
//===== SYSTEM CONSTANTS --- !!!!!!!! DO NOT EDIT !!!!!!!! =====//
|
Line 364... |
Line 373... |
|
|
// Basic clock module: BCSCTL2 Control Register
|
// Basic clock module: BCSCTL2 Control Register
|
`define SELS 3
|
`define SELS 3
|
`define DIVSx 2:1
|
`define DIVSx 2:1
|
|
|
// Timer A: TACTL Control Register
|
|
`define TASSELx 9:8
|
|
`define TAIDx 7:6
|
|
`define TAMCx 5:4
|
|
`define TACLR 2
|
|
`define TAIE 1
|
|
`define TAIFG 0
|
|
|
|
// Timer A: TACCTLx Capture/Compare Control Register
|
|
`define TACMx 15:14
|
|
`define TACCISx 13:12
|
|
`define TASCS 11
|
|
`define TASCCI 10
|
|
`define TACAP 8
|
|
`define TAOUTMODx 7:5
|
|
`define TACCIE 4
|
|
`define TACCI 3
|
|
`define TAOUT 2
|
|
`define TACOV 1
|
|
`define TACCIFG 0
|
|
|
|
|
|
//
|
//
|
// DEBUG INTERFACE EXTRA CONFIGURATION
|
// DEBUG INTERFACE EXTRA CONFIGURATION
|
//======================================
|
//======================================
|
|
|