Renesas H8S/2635 Manual Pagina 91

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 92
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 90
90
int Form1::writeport (int fd, char * chars) [private]
Write given string to a device.
Function writes a string to device pointed by fd descriptor.
Parameters:
fd descriptor of a device.
chars pointer to a char array with a string which should be sent to the device.
Returns:
0 if there were no errors.
int Form1::readport (int fd, char * result) [private]
Read string from a device.
Function reads from given device and stores readed string in a char array pointed by result pointer.
Parameters:
fd descriptor of a device.
result pointer to a char array where the readed string should be stored.
Returns:
0 if there were no errors.
int Form1::getbaud (int fd) [private]
Detects Baud Rate on an open device.
Function estimates the baud rate for a give device.
Parameters:
fd descriptor of a device.
Returns:
0 if there were no errors.
int Form1::allocateMemory () [private]
Allocates memory for phase tables.
Function allocates memory for phase tables. It takes the value from phaseTableLen field.
Returns:
0 if there were no errors.
int Form1::deallocateMemory () [private]
Frees memory.
Function frees memory allocated for phase tables.
Returns:
0 if there were no errors.
Vista de pagina 90
1 2 ... 86 87 88 89 90 91 92

Comentarios a estos manuales

Sin comentarios