CDL Modules
Data Structures | Enumerations | Variables
fdc8271 Namespace Reference

Data Structures

struct  t_command
 
struct  t_command_register
 
struct  t_command_state
 
struct  t_control
 
struct  t_control_drive
 
struct  t_control_scan
 
struct  t_drive_execution
 
struct  t_drive_execution_result
 
struct  t_drive_execution_state
 
struct  t_drive_operation
 
struct  t_drive_operation_state
 
struct  t_drive_outputs
 
struct  t_drive_timing
 
struct  t_drive_timing_state
 
struct  t_parameter_register
 
struct  t_result_register
 
struct  t_set_outputs
 
struct  t_status_register
 

Enumerations

enum  t_dos_fsm {
  dos_fsm_idle,
  dos_fsm_complete_okay,
  dos_fsm_complete_track_0_not_found,
  dos_fsm_seek_zero_start,
  dos_fsm_seek_zero_step,
  dos_fsm_seek_zero_wait_until_settled,
  dos_fsm_seek_nonzero_check_bad_track_1,
  dos_fsm_seek_nonzero_check_bad_track_2,
  dos_fsm_seek_nonzero_calculate_steps,
  dos_fsm_seek_nonzero_set_direction,
  dos_fsm_seek_nonzero_step,
  dos_fsm_seek_sector_id,
  dos_fsm_seek_sector_id_check,
  dos_fsm_load_head,
  dos_fsm_read_id,
  dos_fsm_read_id_copy_data,
  dos_fsm_read_data,
  dos_fsm_read_data_wait,
  dos_fsm_read_data_present_data,
  dos_fsm_present_data,
  dos_fsm_find_index,
  dos_fsm_find_index_wait
}
 
enum  t_drive_execution_operation {
  deo_none,
  deo_find_index,
  deo_seek_track,
  deo_seek_sector_id,
  deo_load_head,
  deo_read_id,
  deo_read_data
}
 
enum  t_des_fsm {
  des_fsm_idle,
  des_fsm_find_index,
  des_fsm_finding_index,
  des_fsm_seek_load,
  des_fsm_seek_load_wait_for_load,
  des_fsm_seek,
  des_fsm_seek_in_progress,
  des_fsm_seek_sector_id,
  des_fsm_seek_sector_id_in_progress,
  des_fsm_read_id,
  des_fsm_read_id_in_progress,
  des_fsm_read_data,
  des_fsm_read_data_in_progress
}
 
enum  t_drive_execution_command {
  dec_none,
  dec_find_index,
  dec_seek,
  dec_seek_load,
  dec_read_id,
  dec_seek_sector,
  dec_read_data
}
 
enum  t_cs_fsm {
  cs_fsm_idle,
  cs_fsm_specify_0,
  cs_fsm_specify_init_step_rate,
  cs_fsm_specify_init_head_settling_time,
  cs_fsm_specify_init_load_time,
  cs_fsm_specify_load_bad_track_1,
  cs_fsm_specify_load_bad_track_2,
  cs_fsm_specify_load_current_track,
  cs_fsm_write_special_reg,
  cs_fsm_write_special_data,
  cs_fsm_read_special_reg,
  cs_fsm_seek_get_track,
  cs_fsm_seek_start,
  cs_fsm_seek_wait_for_result,
  cs_fsm_read_write_multi_sector,
  cs_fsm_read_write_multi_sector_get_sector,
  cs_fsm_read_write_multi_sector_get_length,
  cs_fsm_read_write_multi_sector_find_sector,
  cs_fsm_read_write_multi_sector_seek_load,
  cs_fsm_read_write_multi_sector_wait_for_find,
  cs_fsm_read_write_multi_sector_read_data,
  cs_fsm_read_write_multi_sector_reading_data,
  cs_fsm_read_multi_id,
  cs_fsm_read_multi_id_zero_param,
  cs_fsm_read_multi_id_num_ids,
  cs_fsm_read_multi_id_seek_load,
  cs_fsm_read_multi_id_find_index,
  cs_fsm_read_multi_id_start,
  cs_fsm_read_multi_id_wait_for_result,
  cs_fsm_read_write_sector,
  cs_fsm_read_write_sector_get_sector,
  cs_fsm_read_write_sector_find_sector,
  cs_fsm_read_write_sector_seek_load,
  cs_fsm_read_write_sector_wait_for_find,
  cs_fsm_read_write_sector_read_data,
  cs_fsm_read_write_sector_reading_data,
  cs_fsm_command_format_track,
  cs_fsm_result_none,
  cs_fsm_result_ready,
  cs_fsm_result_capture,
  cs_fsm_command_status_0,
  cs_fsm_drive_status
}
 
enum  t_read_action {
  read_action_none,
  read_action_status,
  read_action_result,
  read_action_data
}
 
enum  t_write_action {
  write_action_none,
  write_action_command,
  write_action_parameter,
  write_action_data,
  write_action_reset
}
 

Variables

constant integer timer_data_counter_value =128
 
constant integer timer_10us_counter_value =2
 
constant integer timer_1ms_counter_value =8