SimAVR
AVR Simulator
|
#include "sim_avr.h"
Go to the source code of this file.
Data Structures | |
struct | avr_timer_wgm_t |
struct | avr_timer_comp_t |
struct | avr_timer_t |
Typedefs | |
typedef struct avr_timer_wgm_t | avr_timer_wgm_t |
typedef struct avr_timer_comp_t | avr_timer_comp_t |
typedef struct avr_timer_comp_t * | avr_timer_comp_p |
typedef struct avr_timer_t | avr_timer_t |
Enumerations | |
enum | { AVR_TIMER_COMPA = 0, AVR_TIMER_COMPB, AVR_TIMER_COMPC, AVR_TIMER_COMP_COUNT } |
enum | { TIMER_IRQ_OUT_PWM0 = 0, TIMER_IRQ_OUT_PWM1, TIMER_IRQ_OUT_COMP, TIMER_IRQ_COUNT = TIMER_IRQ_OUT_COMP + AVR_TIMER_COMP_COUNT } |
enum | { avr_timer_wgm_none = 0, avr_timer_wgm_normal, avr_timer_wgm_ctc, avr_timer_wgm_pwm, avr_timer_wgm_fast_pwm, avr_timer_wgm_fc_pwm } |
Waveform generation modes. More... | |
enum | { avr_timer_com_normal = 0, avr_timer_com_toggle, avr_timer_com_clear, avr_timer_com_set } |
Compare output modes. More... | |
enum | { avr_timer_wgm_reg_constant = 0, avr_timer_wgm_reg_ocra, avr_timer_wgm_reg_icr } |
Functions | |
void | avr_timer_init (avr_t *avr, avr_timer_t *port) |