ProSoft Technology MVI69-ADM User Manual
Page 187

MVI-ADM ♦ 'C' Programmable
Application Development Function Library - ADM API
'C' Programmable Application Development Module
Developer's Guide
ProSoft Technology, Inc.
Page 187 of 342
February 20, 2013
ADM_SetConsoleSpeed
Syntax
void ADM_SetConsoleSpeed(int Port, long Speed);
Parameters
Port
Com port to use as the console (COM1=0, COM2=1, COM3=2)
Speed
Baud rate for console port.
Available settings are: 50, 75, 110, 134, 150, 300, 600, 1200, 1800, 2400,
4800, 9600, 19200, 38400, 57600 and 115200.
Description
ADM_SetConsoleSpeed sets the specified communication port to the baud rate
specified.
MVI46 Note: The MVI46 should have the console disabled in the BIOS setup in order for the
module to avoid faulting the processor on power-on boot. The console can still be used if the
application uses ADM_SetConsolePort to enable console services and ADM_SetConsoleSpeed to
set the baud rate.
Return Value
None
Example
/* set console to 115200 baud */
ADM_SetConsoleSpeed (COM1, 115200L);
See Also
ADM_SetConsolePort (page 186)