Files
MyOwnEtherCATDevice/linuxcnc/metalmusings_encoder.comp
2023-12-31 09:17:42 +01:00

15 lines
256 B
Plaintext

component metalmusings_encoder;
pin io bit index-c-enable;
pin in u32 index-status;
pin out u32 index-latch-enable;
function _;
license "GPL";
;;
//main function
FUNCTION(_) {
index_latch_enable = index_c_enable;
index_c_enable = index_status;
}