Desktop Functions: Smart Device Functions:
|
Search Results for "DtrControl" in [All]Structures1: DCB
private static readonly BitVector32.Section fDtrControl;
fDtrControl = BitVector32.CreateSection(2, previousSection);
previousSection = BitVector32.CreateSection(1, fDtrControl);
public DtrControl DtrControl
get { return (DtrControl)Flags[fDtrControl]; }
set { Flags[fDtrControl] = (int)value; } See also DtrControl and RtsControl fDtrControl = BitVector32.CreateSection(2, previousSection); You will notice that fDtrControl expects 2 and fRtsControl expect 3. Why? The reason is that the highest value within enum DtrControl is 2, and highest valye within enum RtsControl is 3. myDcb.DtrControl = DtrControl.Disable; // DtrControl is an enum Enums2: DtrControl
|