2016-07-15 10:51:11 +00:00
|
|
|
//
|
|
|
|
// DiskDrive.cpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 14/07/2016.
|
|
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "DiskDrive.hpp"
|
2016-07-15 12:28:34 +00:00
|
|
|
|
|
|
|
using namespace Storage;
|
|
|
|
|
|
|
|
DiskDrive::DiskDrive(unsigned int clock_rate, unsigned int revolutions_per_minute) :
|
|
|
|
_clock_rate(clock_rate),
|
|
|
|
_revolutions_per_minute(revolutions_per_minute) {}
|
|
|
|
|
|
|
|
void DiskDrive::set_expected_bit_length(Time bit_length)
|
|
|
|
{
|
|
|
|
_bit_length = bit_length;
|
|
|
|
}
|
2016-07-16 00:35:19 +00:00
|
|
|
|
|
|
|
void DiskDrive::digital_phase_locked_loop_output_bit(int value)
|
|
|
|
{
|
|
|
|
}
|