Bonjour,
J'ai vu ce code :
Mais je ne connais pas cette forme (type variable :1)
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 93 struct ccs_err_recovery 94 { 95 u_char _r1 : 2; /* reserved */ 96 u_char page_code : 6; /* page code */ 97 u_char page_length; /* page length */ 98 u_char awre : 1; /* auto write realloc enabled */ 99 u_char arre : 1; /* auto read realloc enabled */ 100 u_char tb : 1; /* transfer block */ 101 u_char rc : 1; /* read continuous */ 102 u_char eec : 1; /* enable early correction */ 103 u_char per : 1; /* post error */ 104 u_char dte : 1; /* disable transfer on error */ 105 u_char dcr : 1; /* disable correction */ 106 u_char retry_count; /* error retry count */ 107 u_char correction_span; /* largest recov. to be attempted, bits */ 108 u_char head_offset_count; /* head offset (2's C) for each retry */ 109 u_char strobe_offset_count; /* data strobe " */ 110 u_char recovery_time_limit; /* time limit on recovery attempts */ 111 };
Merci
Partager