Logo Search packages:      
Sourcecode: linux version File versions  Download package

Classes | Defines

tmrHw_reg.h File Reference

Definitions for low level Timer registers. More...

#include <mach/csp/mm_io.h>
#include <mach/csp/hw_cfg.h>
Include dependency graph for tmrHw_reg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tmrHw_REG_t

Defines

#define pTmrHw   ((volatile tmrHw_REG_t *)tmrHw_MODULE_BASE_ADDR)
#define tmrHw_CONTROL_32BIT   0x00000002
#define tmrHw_CONTROL_FREE_RUNNING   0x00000000
#define tmrHw_CONTROL_INTERRUPT_ENABLE   0x00000020
#define tmrHw_CONTROL_MODE_MASK   (tmrHw_CONTROL_PERIODIC | tmrHw_CONTROL_ONESHOT)
#define tmrHw_CONTROL_ONESHOT   0x00000001
#define tmrHw_CONTROL_PERIODIC   0x00000040
#define tmrHw_CONTROL_PRESCALE_1   0x00000000
#define tmrHw_CONTROL_PRESCALE_16   0x00000004
#define tmrHw_CONTROL_PRESCALE_256   0x00000008
#define tmrHw_CONTROL_PRESCALE_MASK   0x0000000C
#define tmrHw_CONTROL_TIMER_ENABLE   0x00000080
#define tmrHw_HIGH_FREQUENCY_HZ   HW_CFG_BUS_CLK_HZ
#define tmrHw_HIGH_FREQUENCY_MHZ   (HW_CFG_BUS_CLK_HZ / 1000000)
#define tmrHw_HIGH_RESOLUTION_CLOCK   tmrHw_HIGH_FREQUENCY_HZ
#define tmrHw_LOW_FREQUENCY_HZ   25000000
#define tmrHw_LOW_FREQUENCY_MHZ   25
#define tmrHw_LOW_RESOLUTION_CLOCK   tmrHw_LOW_FREQUENCY_HZ
#define tmrHw_MAX_COUNT   (0xFFFFFFFF)
#define tmrHw_MODULE_BASE_ADDR   MM_IO_BASE_TMR
#define tmrHw_TIMER_NUM_COUNT   (4)

Detailed Description

Definitions for low level Timer registers.

Definition in file tmrHw_reg.h.


Generated by  Doxygen 1.6.0   Back to index