Hardware flux sources are configurable.

This commit is contained in:
David Given
2021-05-13 17:39:49 +02:00
parent f9510c54b2
commit 639588fa68
10 changed files with 79 additions and 71 deletions

View File

@@ -1,5 +1,21 @@
syntax = "proto2";
enum IndexMode {
INDEXMODE_DRIVE = 0;
INDEXMODE_300 = 1;
INDEXMODE_360 = 2;
}
message HardwareInput {
optional int32 drive = 1 [default = 0];
optional double revolutions = 2 [default = 1.2];
optional bool sync_with_index = 3 [default = false];
optional IndexMode index_mode = 4 [default = INDEXMODE_DRIVE];
optional int32 hard_sector_count = 5 [default = 0];
optional bool high_density = 6 [default = true];
}
message TestPatternInput {
optional double interval_us = 1 [default = 4.0];
optional double sequence_length_us = 2 [default = 200.0];