master/fsm_sii.c
changeset 1123 17bef224061d
parent 1039 2881a83d084f
child 1225 4d5b739edcb5
child 1685 399ef727bf62
equal deleted inserted replaced
1122:ee305a780a02 1123:17bef224061d
    41 #include "globals.h"
    41 #include "globals.h"
    42 #include "mailbox.h"
    42 #include "mailbox.h"
    43 #include "master.h"
    43 #include "master.h"
    44 #include "fsm_sii.h"
    44 #include "fsm_sii.h"
    45 
    45 
    46 /**
    46 /** Read/write timeout [ms].
    47  * Read/Write timeout. [ms]
    47  *
       
    48  * Used to calculate timeouts bsed on the jiffies counter.
       
    49  *
       
    50  * \attention Must be more than 10 to avoid problems on kernels that run with
       
    51  * a timer interupt frequency of 100 Hz.
    48  */
    52  */
    49 #define SII_TIMEOUT 10
    53 #define SII_TIMEOUT 20
    50 
    54 
    51 /**
    55 /** Time before evaluating answer at writing [ms].
    52  * Time before evaluating answer at writing. [ms]
       
    53  */
    56  */
    54 #define SII_INHIBIT  5
    57 #define SII_INHIBIT 5
    55 
    58 
    56 //#define SII_DEBUG
    59 //#define SII_DEBUG
    57 
    60 
    58 /*****************************************************************************/
    61 /*****************************************************************************/
    59 
    62