Datasheet

Download:   lgrtos.pdf  

In addition to this, source code RTOS is supplied with uniform system of comments almost for every line.

Example:

//===============================================================//
//  Protocol ModBus/RTU.
//  Event - accepter sent the job: finish of transfer 
//===============================================================//
void  EventSTOP(
    //
Parameters of procedure
    TUART * p                                                         // p UART
)
{  //”””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””” Start of Procedure //
  // Locals of procedure
     unsigned        MyNUM                                ;     // number in a network
 //„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„//
 // A body of procedure.
 //””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””//
  MyNUM = USART.MyNUM                             ;     // To get number in a network
  CLEAR_qUART( p                                          ;     // Erase of queue

  SetStatusUART ( p , NORMA )                        ;     // Status of exchange is norm
  if  (  p->IO.PACK->h.NUM == MyNUM )  {              // If my number in a network
    Get_hPACK ( p->IO.nVISAVI,  p, TxNOP )     ;     // To get heading of a package
    StartTxUART( p )                                          ;     // Start of exchange
}  //„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„ End of Procedure //

 









 

Hosted by uCoz