B115200 => 8#010002#);
C_Bits : constant array (Data_Bits) of unsigned :=
- (B7 => 8#040#, B8 => 8#060#);
+ (CS7 => 8#040#, CS8 => 8#060#);
C_Stop_Bits : constant array (Stop_Bits_Number) of unsigned :=
(One => 0, Two => CSTOPB);
procedure Set
(Port : Serial_Port;
Rate : Data_Rate := B9600;
- Bits : Data_Bits := B8;
+ Bits : Data_Bits := CS8;
Stop_Bits : Stop_Bits_Number := One;
Parity : Parity_Check := None;
Block : Boolean := True;
procedure Set
(Port : Serial_Port;
Rate : Data_Rate := B9600;
- Bits : Data_Bits := B8;
+ Bits : Data_Bits := CS8;
Stop_Bits : Stop_Bits_Number := One;
Parity : Parity_Check := None;
Block : Boolean := True;
procedure Set
(Port : Serial_Port;
Rate : Data_Rate := B9600;
- Bits : Data_Bits := B8;
+ Bits : Data_Bits := CS8;
Stop_Bits : Stop_Bits_Number := One;
Parity : Parity_Check := None;
Block : Boolean := True;
(B1200, B2400, B4800, B9600, B19200, B38400, B57600, B115200);
-- Speed of the communication
- type Data_Bits is (B8, B7);
+ type Data_Bits is (CS8, CS7);
-- Communication bits
type Stop_Bits_Number is (One, Two);
procedure Set
(Port : Serial_Port;
Rate : Data_Rate := B9600;
- Bits : Data_Bits := B8;
+ Bits : Data_Bits := CS8;
Stop_Bits : Stop_Bits_Number := One;
Parity : Parity_Check := None;
Block : Boolean := True;