Add missing type for TMR0_COMP2
This commit is contained in:
parent
62a45c7ba2
commit
c71a0243ff
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
|||
* This file is part of libmc1322x: see http://mc1322x.devl.org
|
||||
* for details.
|
||||
*
|
||||
* $Id: tmr.h,v 1.2 2010/11/07 14:04:59 maralvira Exp $
|
||||
* $Id: tmr.h,v 1.3 2010/11/07 14:16:28 maralvira Exp $
|
||||
*/
|
||||
|
||||
#include "utils.h"
|
||||
|
@ -62,7 +62,7 @@
|
|||
/* Timer 0 registers */
|
||||
#define TMR0_COMP1 ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_COMP1))
|
||||
#define TMR0_COMP_UP TMR0_COMP1
|
||||
#define TMR0_COMP2 (TMR0_BASE + TMR_REGOFF_COMP2)
|
||||
#define TMR0_COMP2 ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_COMP2))
|
||||
#define TMR0_COMP_DOWN TMR0_COMP2
|
||||
#define TMR0_CAPT ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_CAPT))
|
||||
#define TMR0_LOAD ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_LOAD))
|
||||
|
|
Loading…
Reference in a new issue