SimAVR
AVR Simulator
avr_timer_t Struct Reference

#include <avr_timer.h>

Collaboration diagram for avr_timer_t:

Data Fields

avr_io_t io
 
char name
 
avr_regbit_t disabled
 bit in the PRR More...
 
avr_io_addr_t r_tcnt
 
avr_io_addr_t r_icr
 
avr_io_addr_t r_tcnth
 
avr_io_addr_t r_icrh
 
avr_regbit_t wgm [4]
 
avr_timer_wgm_t wgm_op [16]
 
avr_timer_wgm_t mode
 
int wgm_op_mode_kind
 
uint32_t wgm_op_mode_size
 
avr_regbit_t as2
 asynchronous clock 32khz More...
 
avr_regbit_t cs [4]
 
uint8_t cs_div [16]
 
uint32_t cs_div_clock
 
avr_regbit_t icp
 input capture pin, to link IRQs More...
 
avr_regbit_t ices
 input capture edge select More...
 
avr_timer_comp_t comp [AVR_TIMER_COMP_COUNT]
 
avr_int_vector_t overflow
 overflow More...
 
avr_int_vector_t icr
 input capture More...
 
uint64_t tov_cycles
 
uint64_t tov_base
 when we last were called More...
 
uint16_t tov_top
 current top value to calculate tnct More...
 

Field Documentation

asynchronous clock 32khz

avr_regbit_t cs[4]
uint8_t cs_div[16]
uint32_t cs_div_clock
avr_regbit_t disabled

bit in the PRR

input capture edge select

input capture pin, to link IRQs

input capture

char name
avr_int_vector_t overflow

overflow

avr_io_addr_t r_icrh
avr_io_addr_t r_tcnt
avr_io_addr_t r_tcnth
uint64_t tov_base

when we last were called

uint64_t tov_cycles
uint16_t tov_top

current top value to calculate tnct

avr_regbit_t wgm[4]
avr_timer_wgm_t wgm_op[16]
int wgm_op_mode_kind
uint32_t wgm_op_mode_size

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