Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)

Figures
13
Figure 1-1 . Asynchronous Serial Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Figure 1-2 . HP Distributed Terminal Controllers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
Figure 1-3 . ThinLAN Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Figure 1-4 . ThickLAN Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Figure 1-5 . Network with OpenView Workstation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Figure 2-1 . File System Hierarchy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Figure 3-1 . Opening a Read Port and a Write Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
Figure 3-2 . Illustration of the FREAD Intrinsic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Figure 3-3 . Obtaining the Result of the Read Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
Figure 3-4 . Opening a Read Port and a Write Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
Figure 3-5 . Illustration of the FWRITE Intrinsic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
Figure 3-6 . Obtaining the Result of the Read Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Figure 3-7 . Opening a Read Port and a Write Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
Figure 3-8 . Opening a Read Port and a Write Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
Figure 3-9 . Opening a Read Port and a Write Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
Figure 3-10 . Opening a Read Port and a Write Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
Figure 4-1 . FDEVICECONTROL to Enable Transparent Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . .95
Figure 4-2 . FDEVICECONTROL to Disable Transparent Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . .97
Figure 4-3 . FDEVICECONTROL to Specify EOR Character. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
Figure 4-4 . Specifying a New Backspace Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
Figure 4-5 . Setting Backspace Response. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
Figure 4-6 . Disable Device XON/XOFF Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
Figure 4-7 . Enable Host XON/XOFF Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107
Figure 4-8 . Set the Number of Stop Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
Figure 4-9 . Escape Sequence Read Termination. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110
Figure 5-1 . Illustrating a Subsystem Break Handler. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
Figure 5-2 . Procedure to Enable Subsystem Break . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116
Figure 6-1 . Program Fragment Setting Typeahead Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .126
Figure 6-2 . Program Fragment to Flush Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .128
Figure 6-3 . Program Fragment to Bypass Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .130
Figure 7-1 . DTC/X.25 Network Access for PAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133