1 //*****************************************************************************
\r
3 // systick.h - Prototypes for the SysTick driver.
\r
5 // Copyright (c) 2005,2006 Luminary Micro, Inc. All rights reserved.
\r
7 // Software License Agreement
\r
9 // Luminary Micro, Inc. (LMI) is supplying this software for use solely and
\r
10 // exclusively on LMI's Stellaris Family of microcontroller products.
\r
12 // The software is owned by LMI and/or its suppliers, and is protected under
\r
13 // applicable copyright laws. All rights are reserved. Any use in violation
\r
14 // of the foregoing restrictions may subject the user to criminal sanctions
\r
15 // under applicable laws, as well as to civil liability for the breach of the
\r
16 // terms and conditions of this license.
\r
18 // THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
\r
19 // OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
\r
20 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
\r
21 // LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
\r
22 // CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
\r
24 // This is part of revision 991 of the Stellaris Driver Library.
\r
26 //*****************************************************************************
\r
28 #ifndef __SYSTICK_H__
\r
29 #define __SYSTICK_H__
\r
36 //*****************************************************************************
\r
38 // Prototypes for the APIs.
\r
40 //*****************************************************************************
\r
41 extern void SysTickEnable(void);
\r
42 extern void SysTickDisable(void);
\r
43 extern void SysTickIntRegister(void (*pfnHandler)(void));
\r
44 extern void SysTickIntUnregister(void);
\r
45 extern void SysTickIntEnable(void);
\r
46 extern void SysTickIntDisable(void);
\r
47 extern void SysTickPeriodSet(unsigned long ulPeriod);
\r
48 extern unsigned long SysTickPeriodGet(void);
\r
49 extern unsigned long SysTickValueGet(void);
\r
55 #endif // __SYSTICK_H__
\r