Sensoray 2410 API Manual do Utilizador Página 17

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 39
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 16
Sensoray 24xx Programming Guide
13
Module-Independent Functions
5.6.2 s24xx_WriteTimestamp()
Function: Set module’s system time.
Prototype:
BOOL s24xx_WriteTimestamp( SESSION sess, u32 *err, u32 systime );
Returns: True if the operation was successful, otherwise False is returned and
err
will contain the associated error code.
Notes: This function forces a module’s system clock to a desired initial time.
Example:
// Force the system clock to zero.
u32 err = ERR_NONE;
if ( !s24xx_WriteTimestamp( sess, &err, 0 ) )
printf( "Error: %s\n", s24xx_ErrorText(err) );
Argument Description
sess
Session handle obtained from
s24xx_SessionOpen()
.
err
Pointer to error code. See Section 4.3.1 for details.
timestamp
Module’s new system time, in microseconds.
Vista de página 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 38 39

Comentários a estes Manuais

Sem comentários