/*
* -------------------------------------------
- * MSP432 DriverLib - v01_04_00_18
+ * MSP432 DriverLib - v3_10_00_09
* -------------------------------------------
*
* --COPYRIGHT--,BSD,BSD
- * Copyright (c) 2015, Texas Instruments Incorporated
+ * Copyright (c) 2014, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
// Control specific variables
//
//*****************************************************************************
+#define TIMER32_CMSIS(x) ((Timer32_Type *) x)
+
#define TIMER_OFFSET 0x020
-#define TIMER32_0_MODULE TIMER32_BASE
-#define TIMER32_1_MODULE (TIMER32_BASE + OFS_TIMER32_LOAD2)
+#define TIMER32_0_BASE TIMER32_1
+#define TIMER32_1_BASE TIMER32_2
#define TIMER32_0_INTERRUPT INT_T32_INT1
#define TIMER32_1_INTERRUPT INT_T32_INT2
//!
//! \param timer is the instance of the Timer32 module.
//! Valid parameters must be one of the following values:
-//! - \b TIMER32_0_MODULE
-//! - \b TIMER32_1_MODULE
+//! - \b TIMER32_0_BASE
+//! - \b TIMER32_1_BASE
//!
//! \param preScaler is the prescaler (or divider) to apply to the clock
//! source given to the Timer32 module.
//!
//! \param timer is the instance of the Timer32 module.
//! Valid parameters must be one of the following values:
-//! - \b TIMER32_0_MODULE
-//! - \b TIMER32_1_MODULE
+//! - \b TIMER32_0_BASE
+//! - \b TIMER32_1_BASE
//! \param count Value of the timer to set. Note that
//! if the timer is in 16-bit mode and a value is passed in that exceeds
//! UINT16_MAX, the value will be truncated to UINT16_MAX.
//!
//! \param timer is the instance of the Timer32 module.
//! Valid parameters must be one of the following values:
-//! - \b TIMER32_0_MODULE
-//! - \b TIMER32_1_MODULE
+//! - \b TIMER32_0_BASE
+//! - \b TIMER32_1_BASE
//! \param count Value of the timer to set in the background. Note that
//! if the timer is in 16-bit mode and a value is passed in that exceeds
//! UINT16_MAX, the value will be truncated to UINT16_MAX.
//!
//! \param timer is the instance of the Timer32 module.
//! Valid parameters must be one of the following values:
-//! - \b TIMER32_0_MODULE
-//! - \b TIMER32_1_MODULE
+//! - \b TIMER32_0_BASE
+//! - \b TIMER32_1_BASE
//!
//! \return The current count of the timer.
//
//!
//! \param timer is the instance of the Timer32 module.
//! Valid parameters must be one of the following values:
-//! - \b TIMER32_0_MODULE
-//! - \b TIMER32_1_MODULE
+//! - \b TIMER32_0_BASE
+//! - \b TIMER32_1_BASE
//!
//! \param oneShot sets whether the Timer32 module operates in one shot
//! or continuous mode. In one shot mode, the timer will halt when a zero is
//!
//! \param timer is the instance of the Timer32 module.
//! Valid parameters must be one of the following values:
-//! - \b TIMER32_0_MODULE
-//! - \b TIMER32_1_MODULE
+//! - \b TIMER32_0_BASE
+//! - \b TIMER32_1_BASE
//!
//! \return None
//
//!
//! \param timer is the instance of the Timer32 module.
//! Valid parameters must be one of the following values:
-//! - \b TIMER32_0_MODULE
-//! - \b TIMER32_1_MODULE
+//! - \b TIMER32_0_BASE
+//! - \b TIMER32_1_BASE
//!
//! Enables the indicated Timer32 interrupt source.
//!
//!
//! \param timer is the instance of the Timer32 module.
//! Valid parameters must be one of the following values:
-//! - \b TIMER32_0_MODULE
-//! - \b TIMER32_1_MODULE
+//! - \b TIMER32_0_BASE
+//! - \b TIMER32_1_BASE
//!
//! Disables the indicated Timer32 interrupt source.
//!
//!
//! \param timer is the instance of the Timer32 module.
//! Valid parameters must be one of the following values:
-//! - \b TIMER32_0_MODULE
-//! - \b TIMER32_1_MODULE
+//! - \b TIMER32_0_BASE
+//! - \b TIMER32_1_BASE
//!
//! The Timer32 interrupt source is cleared, so that it no longer asserts.
//!
//!
//! \param timer is the instance of the Timer32 module.
//! Valid parameters must be one of the following values:
-//! - \b TIMER32_0_MODULE
-//! - \b TIMER32_1_MODULE
+//! - \b TIMER32_0_BASE
+//! - \b TIMER32_1_BASE
//!
//! This returns the interrupt status for the Timer32 module. A positive value
//! will indicate that an interrupt is pending while a zero value will indicate