CDL Modules
Data Structures | Namespaces | Enumerations
acia6850.cdl File Reference

6850 async communications chip CDL implementation More...

Detailed Description

6850 async communications chip CDL implementation

Copyright (C) 2016-2017, Gavin J Stark. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

CDL implementation of the 6850 (from Motorola originally?)

Data Structures

struct  acia6850::t_rxtx
 
struct  acia6850::t_control
 
struct  acia6850::t_tx_if
 
struct  acia6850::t_tx_if_state
 
struct  acia6850::t_transmit_status
 
struct  acia6850::t_transmit_if
 
struct  acia6850::t_rx_if
 
struct  acia6850::t_rx_if_state
 
struct  acia6850::t_receive_status
 

Namespaces

 acia6850
 

Enumerations

enum  acia6850::t_counter {
  acia6850::counter_x1 = 0,
  acia6850::counter_x16 = 1,
  acia6850::counter_x64 = 2,
  acia6850::counter_master_reset = 3
}
 
enum  acia6850::t_stop_bits {
  acia6850::stop_1,
  acia6850::stop_2
}
 
enum  acia6850::t_data_bits {
  acia6850::bits_7,
  acia6850::bits_8
}
 
enum  acia6850::t_parity {
  acia6850::parity_odd,
  acia6850::parity_even,
  acia6850::parity_none
}
 
enum  acia6850::t_bit_action {
  acia6850::bit_action_none,
  acia6850::bit_action_reset,
  acia6850::bit_action_load,
  acia6850::bit_action_shift,
  acia6850::bit_action_stop_bit,
  acia6850::bit_action_framing_error,
  acia6850::bit_action_complete
}
 
enum  acia6850::t_tx_if_fsm {
  acia6850::tx_wait_for_start,
  acia6850::tx_data_bits,
  acia6850::tx_stop_bit
}
 
enum  acia6850::t_rx_if_fsm {
  acia6850::rx_wait_for_start,
  acia6850::rx_wait_for_middle,
  acia6850::rx_data_bits,
  acia6850::rx_stop_bit,
  acia6850::rx_framing_error
}
 
enum  acia6850::t_read_action {
  acia6850::read_action_none,
  acia6850::read_action_receive_data,
  acia6850::read_action_status
}
 
enum  acia6850::t_write_action {
  acia6850::write_action_none,
  acia6850::write_action_transmit_data,
  acia6850::write_action_control
}
 
enum  acia6850::t_address {
  acia6850::addr_control_status = 0,
  acia6850::addr_transmit_receive = 1
}