Телесистемы
 Разработка, производство и продажа радиоэлектронной аппаратуры
На главную   | Карта сайта | Пишите нам | В избранное
Требуется программист в Зеленограде
- обработка данных с датчиков; ColdFire; 40 тыс.
e-mail:jobsmp@pochta.ru

Телесистемы | Электроника | Конференция «Микроконтроллеры и их применение»

не вижу там опроса - юсаю для установки >

Отправлено basilmak 04 апреля 2007 г. 09:22
В ответ на: EscapeCommFunction(commPortM,SETRTS); // !! например отправлено <font color=gray>Termit</font> 04 апреля 2007 г. 09:15

EscapeCommFunction (2.x) (WINPROCS unit)


function EscapeCommFunction(Cid: Integer; Func: Integer): LongInt;

The EscapeCommFunction function directs the specified communications device to carry out an extended function.

Parameter Description

Cid Specifies the communications device that will carry out the extended function. The OpenComm function returns this value.
Func Specifies the function code of the extended function. It can be one of the following values:

Value Meaning

CLRDTR Clears the DTR (data-terminal-ready) signal.
CLRRTS Clears the RTS (request-to-send) signal.
GETMAXCOM Returns the maximum COM port identifier supported by the system. This value ranges from 0x00 to 0x7F, such that 0x00 corresponds to
COM1, 0x01 to COM2, 0x02 to COM3, and so on.
GETMAXLPT Returns the maximum LPT port identifier supported by the system. This value ranges from 0x80 to 0xFF, such that 0x80 corresponds to
LPT1, 0x81 to LPT2, 0x82 to LPT3, and so on.
RESETDEV Resets the printer device if the Cid parameter specifies an LPT port. No function is performed if Cid specifies a COM port.

SETDTR Sends the DTR (data-terminal-ready) signal.
SETRTS Sends the RTS (request-to-send) signal.
SETXOFF Causes transmission to act as if an XOFF character has been received.
SETXON Causes transmission to act as if an XON character has been received.

Returns

Returns zero if successful. Otherwise, it is less than zero.

See Also
User functions


Составить ответ | Вернуться на конференцию

Ответы


Отправка ответа
Имя*: 
Пароль: 
E-mail: 
Тема*:

Сообщение:

Ссылка на URL: 
URL изображения: 

если вы незарегистрированный на форуме пользователь, то
для успешного добавления сообщения заполните поле, как указано ниже:
введите число 90:

Перейти к списку ответов | Конференция | Раздел "Электроника" | Главная страница | Карта сайта

Rambler's Top100 Рейтинг@Mail.ru
 
Web telesys.ru