diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-09 16:49:00 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-09 16:49:00 -0600 |
commit | 8a493edc7b8be421fb15f61f717ec2bd41ff52bc (patch) | |
tree | 806ea879e7a2f00fc80751a6992fce692e1ef867 /nuttx/arch/arm/src/tiva/chip/tiva_timer.h | |
parent | 930154ba9c89c6734835515cad93231c346caac2 (diff) | |
download | nuttx-8a493edc7b8be421fb15f61f717ec2bd41ff52bc.tar.gz nuttx-8a493edc7b8be421fb15f61f717ec2bd41ff52bc.tar.bz2 nuttx-8a493edc7b8be421fb15f61f717ec2bd41ff52bc.zip |
Tiva Timer: Add support for input clock prescaler in 16-bit one-shot/periodic modes
Diffstat (limited to 'nuttx/arch/arm/src/tiva/chip/tiva_timer.h')
-rw-r--r-- | nuttx/arch/arm/src/tiva/chip/tiva_timer.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/nuttx/arch/arm/src/tiva/chip/tiva_timer.h b/nuttx/arch/arm/src/tiva/chip/tiva_timer.h index f5253842b..9e91a3c91 100644 --- a/nuttx/arch/arm/src/tiva/chip/tiva_timer.h +++ b/nuttx/arch/arm/src/tiva/chip/tiva_timer.h @@ -725,24 +725,12 @@ #define TIMER_TnPR_TnPSR_MASK (0xff << TIMER_TnPR_TnPSR_SHIFT) # define TIMER_TnPR_TnPSR(n) ((uint32_t)(n) << TIMER_TnPR_TnPSR_SHIFT) -#if 0 -# define TIMER_TnPR_TnPSRH_SHIFT (8) /* Bits 8-15: GPTM Timer A/B Prescale High word */ -# define TIMER_TnPR_TnPSRH_MASK (0xff << TIMER_TnPR_TnPSRH_SHIFT) -# define TIMER_TnPR_TnPSRH(n) ((uint32_t)(n) << TIMER_TnPR_TnPSRH_SHIFT) -#endif - /* GPTM Timer A/B Prescale Match (TnPMR) */ #define TIMER_TnPMR_TnPSMR_SHIFT (0) /* Bits 0-8: GPTM Timer A/B Prescale Match */ #define TIMER_TnPMR_TnPSMR_MASK (0xff << TIMER_TnPMR_TnPSMR_SHIFT) # define TIMER_TnPMR_TnPSMR(n) ((uint32_t)(n) << TIMER_TnPMR_TnPSMR_SHIFT) -#if 0 -# define TIMER_TnPMR_TnPSMRH_SHIFT (8) /* Bits 8-15: GPTM Timer A/B Prescale Match High word */ -# define TIMER_TnPMR_TnPSMRH_MASK (0xff << TIMER_TnPMR_TnPSMRH_SHIFT) -# define TIMER_TnPMR_TnPSMRH(n) ((uint32_t)(n) << TIMER_TnPMR_TnPSMRH_SHIFT) -#endif - /* GPTM Timer A (TAR) (32-bit value) */ /* GPTM Timer B (TBR) (32-bit value) */ /* GPTM Timer A Value (TAV) (32-bit value) */ |