ArchXT_TimerAConfig Struct Reference

yasimavr: ArchXT_TimerAConfig Struct Reference
yasimavr
Loading...
Searching...
No Matches

Configuration structure for ArchXT_TimerA. More...

#include <arch_xt_timer_a.h>

Public Types

enum  Version { V1 , V2 }
 

Public Attributes

reg_addr_t reg_base
 Base address for the peripheral I/O registers.
 
int_vect_t iv_ovf
 Interrupt vector index for TCA_OVF (a.k.a. TCA_LUNF)
 
int_vect_t iv_hunf
 Interrupt vector index for TCA_HUNF.
 
int_vect_t ivs_cmp [CompareChannelCount]
 Array of vector index for the compare channels interrupts.
 
Version version = V1
 Version of the model.
 

Static Public Attributes

static const int CompareChannelCount = 3
 Defines the number of comparison channels supported by the TCA.
 

Detailed Description

Configuration structure for ArchXT_TimerA.

Member Enumeration Documentation

◆ Version

Enumerator
V1 

Base model version, corresponding to ATMega 0-series implementations.

V2 

V1 + Event Input B and RUNSTDBY bit features.

Member Data Documentation

◆ CompareChannelCount

const int ArchXT_TimerAConfig::CompareChannelCount = 3
static

Defines the number of comparison channels supported by the TCA.

◆ iv_hunf

int_vect_t ArchXT_TimerAConfig::iv_hunf

Interrupt vector index for TCA_HUNF.

◆ iv_ovf

int_vect_t ArchXT_TimerAConfig::iv_ovf

Interrupt vector index for TCA_OVF (a.k.a. TCA_LUNF)

◆ ivs_cmp

int_vect_t ArchXT_TimerAConfig::ivs_cmp[CompareChannelCount]

Array of vector index for the compare channels interrupts.

◆ reg_base

reg_addr_t ArchXT_TimerAConfig::reg_base

Base address for the peripheral I/O registers.

◆ version

Version ArchXT_TimerAConfig::version = V1

Version of the model.


The documentation for this struct was generated from the following file: