Lines Matching refs:i
114 uint16_t i; in CO_CANmodule_init() local
136 for(i=0U; i<rxSize; i++){ in CO_CANmodule_init()
137 rxArray[i].ident = 0U; in CO_CANmodule_init()
138 rxArray[i].pFunct = NULL; in CO_CANmodule_init()
140 for(i=0U; i<txSize; i++){ in CO_CANmodule_init()
141 txArray[i].bufferFull = false; in CO_CANmodule_init()
147 for(i=0; i<(CANmodule->CANmsgBuffSize*4); i++){ in CO_CANmodule_init()
164 case 10: i=0; break; in CO_CANmodule_init()
165 case 20: i=1; break; in CO_CANmodule_init()
166 case 50: i=2; break; in CO_CANmodule_init()
168 case 125: i=3; break; in CO_CANmodule_init()
169 case 250: i=4; break; in CO_CANmodule_init()
170 case 500: i=5; break; in CO_CANmodule_init()
171 case 800: i=6; break; in CO_CANmodule_init()
172 case 1000: i=7; break; in CO_CANmodule_init()
175 ((uint32_t)(CO_CANbitRateData[i].phSeg2 - 1)) << 16 | /* SEG2PH */ in CO_CANmodule_init()
177 ((uint32_t)(CO_CANbitRateData[i].phSeg1 - 1)) << 11 | /* SEG1PH */ in CO_CANmodule_init()
178 ((uint32_t)(CO_CANbitRateData[i].PROP - 1)) << 8 | /* PRSEG */ in CO_CANmodule_init()
179 ((uint32_t)(CO_CANbitRateData[i].SJW - 1)) << 6 | /* SJW */ in CO_CANmodule_init()
180 ((uint32_t)(CO_CANbitRateData[i].BRP - 1)); /* BRP */ in CO_CANmodule_init()
185 for(i=0; i<(NO_CAN_RXF/4); i++) in CO_CANmodule_init()
186 CAN_REG(CANdriverState, C_FLTCON+i*0x10) = 0x00000000; in CO_CANmodule_init()
416 uint16_t i; in CO_CANclearPendingSyncPDOs() local
418 for(i = CANmodule->txSize; i > 0U; i--){ in CO_CANclearPendingSyncPDOs()
557 uint16_t i; /* index of transmitting message */ in CO_CANinterrupt() local
562 for(i = CANmodule->txSize; i > 0U; i--){ in CO_CANinterrupt()
585 if(i == 0U){ in CO_CANinterrupt()