Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Component : Timer Module - ALT_TMR

Description

Timer Module

Registers in the timer module. The timer IP core supports multiple timers but it is configured for just one timer. The term Timer1 refers to this one timer in the IP core and not the module instance.

Members

 Register : Timer1 Load Count Register - timer1loadcount
 
 Register : Timer1 Current Value Register - timer1currentval
 
 Register : Timer1 Control Register - timer1controlreg
 
 Register : Timer1 End-of-Interrupt Register - timer1eoi
 
 Register : Timer1 Interrupt Status Register - timer1intstat
 
 Register : Timers Interrupt Status Register - timersintstat
 
 Register : Timers End-of-Interrupt Register - timerseoi
 
 Register : Timers Raw Interrupt Status Register - timersrawintstat
 
 Register : Timers Component Version Register - timerscompversion
 

Data Structures

struct  ALT_TMR_s
 
struct  ALT_TMR_raw_s
 

Typedefs

typedef struct ALT_TMR_s ALT_TMR_t
 
typedef struct ALT_TMR_raw_s ALT_TMR_raw_t
 

Data Structure Documentation

struct ALT_TMR_s

WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.

The struct declaration for register group ALT_TMR.

Data Fields
volatile ALT_TMR_TMR1LDCOUNT_t timer1loadcount ALT_TMR_TMR1LDCOUNT
volatile ALT_TMR_TMR1CURVAL_t timer1currentval ALT_TMR_TMR1CURVAL
volatile ALT_TMR_TMR1CTLREG_t timer1controlreg ALT_TMR_TMR1CTLREG
volatile ALT_TMR_TMR1EOI_t timer1eoi ALT_TMR_TMR1EOI
volatile ALT_TMR_TMR1INTSTAT_t timer1intstat ALT_TMR_TMR1INTSTAT
volatile uint32_t _pad_0x14_0x9f UNDEFINED
volatile ALT_TMR_TMRSINTSTAT_t timersintstat ALT_TMR_TMRSINTSTAT
volatile ALT_TMR_TMRSEOI_t timerseoi ALT_TMR_TMRSEOI
volatile ALT_TMR_TMRSRAWINTSTAT_t timersrawintstat ALT_TMR_TMRSRAWINTSTAT
volatile ALT_TMR_TMRSCOMPVER_t timerscompversion ALT_TMR_TMRSCOMPVER
volatile uint32_t _pad_0xb0_0x100 UNDEFINED
struct ALT_TMR_raw_s

The struct declaration for the raw register contents of register group ALT_TMR.

Data Fields
volatile uint32_t timer1loadcount ALT_TMR_TMR1LDCOUNT
volatile uint32_t timer1currentval ALT_TMR_TMR1CURVAL
volatile uint32_t timer1controlreg ALT_TMR_TMR1CTLREG
volatile uint32_t timer1eoi ALT_TMR_TMR1EOI
volatile uint32_t timer1intstat ALT_TMR_TMR1INTSTAT
volatile uint32_t _pad_0x14_0x9f UNDEFINED
volatile uint32_t timersintstat ALT_TMR_TMRSINTSTAT
volatile uint32_t timerseoi ALT_TMR_TMRSEOI
volatile uint32_t timersrawintstat ALT_TMR_TMRSRAWINTSTAT
volatile uint32_t timerscompversion ALT_TMR_TMRSCOMPVER
volatile uint32_t _pad_0xb0_0x100 UNDEFINED

Typedef Documentation

typedef struct ALT_TMR_s ALT_TMR_t

The typedef declaration for register group ALT_TMR.

typedef struct ALT_TMR_raw_s ALT_TMR_raw_t

The typedef declaration for the raw register contents of register group ALT_TMR.