CDL Modules
Data Structures | Enumerations
via6522 Namespace Reference

Data Structures

struct  t_acr
 
struct  t_irq
 
struct  t_pcr
 
struct  t_port
 
struct  t_port_edges
 
struct  t_timer
 
struct  t_timer_value
 

Enumerations

enum  t_edge {
  ctl_negedge =1,
  ctl_posedge =0
}
 
enum  t_c2_ctl {
  input_negedge,
  input_negedge_independent,
  input_posedge,
  input_posedge_independent,
  output_handshake,
  output_pulse,
  output_high,
  output_low
}
 
enum  t_read_action {
  read_action_none,
  read_action_port_a_handshake,
  read_action_port_b_handshake,
  read_action_clear_timer_1_irq,
  read_action_clear_timer_2_irq
}
 
enum  t_write_action {
  write_action_none,
  write_action_ora_handshake,
  write_action_orb_handshake,
  write_action_ora,
  write_action_ddra,
  write_action_ddrb,
  write_action_t1ll_write,
  write_action_t1lh_write,
  write_action_t1ch_write,
  write_action_t2ll_write,
  write_action_t2ch_write,
  write_action_ier,
  write_action_ifr,
  write_action_sr,
  write_action_pcr,
  write_action_acr
}
 
enum  t_address {
  addr_orb_irb = 0,
  addr_ora_ira = 1,
  addr_ddrb = 2,
  addr_ddra = 3,
  addr_t1c_l = 4,
  addr_t1c_h = 5,
  addr_t1l_l = 6,
  addr_t1l_h = 7,
  addr_t2c_l = 8,
  addr_t2c_h = 9,
  addr_sr = 10,
  addr_acr = 11,
  addr_pcr = 12,
  addr_ifr = 13,
  addr_ier = 14,
  addr_ora_ira_no_hs = 15
}