Memory layout of a data structure: Difference between revisions
Content deleted Content added
Line 130:
method ring_indicator = BitSet.is_set d 8
method set_carrier_detect b = (if b then BitSet.
method set_received_data b = (if b then BitSet.
method set_transmitted_data b = (if b then BitSet.
method set_data_terminal_ready b = (if b then BitSet.
method set_signal_ground b = (if b then BitSet.
method set_data_set_ready b = (if b then BitSet.
method set_request_to_send b = (if b then BitSet.
method set_clear_to_send b = (if b then BitSet.
method set_ring_indicator b = (if b then BitSet.
end
;;</ocaml>
|