/canopennode-2.7.6/stack/PIC24_dsPIC33/ |
D | CO_driver.c | 103 void CO_CANsetConfigurationMode(void *CANdriverState){ in CO_CANsetConfigurationMode() argument 104 uint16_t C_CTRL1copy = CAN_REG(CANdriverState, C_CTRL1); in CO_CANsetConfigurationMode() 109 CAN_REG(CANdriverState, C_CTRL1) = C_CTRL1copy; in CO_CANsetConfigurationMode() 112 while((CAN_REG(CANdriverState, C_CTRL1) & 0x00E0) != 0x0080); in CO_CANsetConfigurationMode() 118 uint16_t C_CTRL1copy = CAN_REG(CANmodule->CANdriverState, C_CTRL1); in CO_CANsetNormalMode() 122 CAN_REG(CANmodule->CANdriverState, C_CTRL1) = C_CTRL1copy; in CO_CANsetNormalMode() 125 while((CAN_REG(CANmodule->CANdriverState, C_CTRL1) & 0x00E0) != 0x0000); in CO_CANsetNormalMode() 134 void *CANdriverState, in CO_CANmodule_init() argument 159 if(CANdriverState == ADDR_CAN1) { in CO_CANmodule_init() 170 else if(((uintptr_t) CANdriverState) == ADDR_CAN2) { in CO_CANmodule_init() [all …]
|
D | CO_driver_target.h | 406 void *CANdriverState; member
|
/canopennode-2.7.6/stack/dsPIC30F/ |
D | CO_driver.c | 85 void CO_CANsetConfigurationMode(void *CANdriverState){ in CO_CANsetConfigurationMode() argument 86 uint16_t C_CTRLcopy = CAN_REG(CANdriverState, C_CTRL); in CO_CANsetConfigurationMode() 91 CAN_REG(CANdriverState, C_CTRL) = C_CTRLcopy; in CO_CANsetConfigurationMode() 94 while((CAN_REG(CANdriverState, C_CTRL) & 0x00E0) != 0x0080); in CO_CANsetConfigurationMode() 100 uint16_t C_CTRLcopy = CAN_REG(CANmodule->CANdriverState, C_CTRL); in CO_CANsetNormalMode() 104 CAN_REG(CANmodule->CANdriverState, C_CTRL) = C_CTRLcopy; in CO_CANsetNormalMode() 107 while((CAN_REG(CANmodule->CANdriverState, C_CTRL) & 0x00E0) != 0x0000); in CO_CANsetNormalMode() 116 void *CANdriverState, in CO_CANmodule_init() argument 131 CANmodule->CANdriverState = CANdriverState; in CO_CANmodule_init() 154 CAN_REG(CANdriverState, C_CTRL) = 0x0400; in CO_CANmodule_init() [all …]
|
D | CO_driver_target.h | 348 void *CANdriverState; member
|
/canopennode-2.7.6/stack/PIC32/ |
D | CO_driver.c | 74 void CO_CANsetConfigurationMode(void *CANdriverState){ in CO_CANsetConfigurationMode() argument 75 uint32_t C_CONcopy = CAN_REG(CANdriverState, C_CON); in CO_CANsetConfigurationMode() 79 CAN_REG(CANdriverState, C_CON) = C_CONcopy; in CO_CANsetConfigurationMode() 84 CAN_REG(CANdriverState, C_CON) = C_CONcopy; in CO_CANsetConfigurationMode() 87 while((CAN_REG(CANdriverState, C_CON) & 0x00E00000) != 0x00800000); in CO_CANsetConfigurationMode() 95 CAN_REG(CANmodule->CANdriverState, C_CON+CLR) = 0x07000000; in CO_CANsetNormalMode() 98 while((CAN_REG(CANmodule->CANdriverState, C_CON) & 0x00E00000) != 0x00000000); in CO_CANsetNormalMode() 107 void *CANdriverState, in CO_CANmodule_init() argument 122 CANmodule->CANdriverState = CANdriverState; in CO_CANmodule_init() 153 CAN_REG(CANdriverState, C_CON) = 0x04108000; in CO_CANmodule_init() [all …]
|
D | CO_driver_target.h | 327 void *CANdriverState; member
|
/canopennode-2.7.6/stack/neuberger-socketCAN/ |
D | CO_driver.c | 60 … CO_ReturnError_t CO_CANmodule_addInterface(CO_CANmodule_t *CANmodule, const void *CANdriverState); 181 void CO_CANsetConfigurationMode(void *CANdriverState) in CO_CANsetConfigurationMode() argument 207 void *CANdriverState, in CO_CANmodule_init() argument 280 rxArray[i].CANdriverState = NULL; in CO_CANmodule_init() 288 ret = CO_CANmodule_addInterface(CANmodule, CANdriverState); in CO_CANmodule_init() 305 const void *CANdriverState) in CO_CANmodule_addInterface() argument 334 interface->CANdriverState = CANdriverState; in CO_CANmodule_addInterface() 335 ifName = if_indextoname((uintptr_t)interface->CANdriverState, interface->ifName); in CO_CANmodule_addInterface() 383 sockAddr.can_ifindex = (uintptr_t)interface->CANdriverState; in CO_CANmodule_addInterface() 521 buffer->CANdriverState = NULL; in CO_CANrxBufferInit() [all …]
|
D | CO_driver_target.h | 76 const void *CANdriverState; /**< CAN Interface identifier */ member 150 void *CANdriverState, 171 const void *CANdriverState);
|
D | CO_driver_base.h | 253 const void *CANdriverState; /**< CAN Interface identifier */ member 273 const void *CANdriverState; /**< CAN Interface identifier to use */ member
|
/canopennode-2.7.6/ |
D | CANopen.h | 192 void *CANdriverState, 236 void *CANdriverState, 248 void CO_delete(void *CANdriverState);
|
D | CANopen.c | 184 void *CANdriverState, 197 void *CANdriverState, 466 void *CANdriverState, in CO_CANinit() argument 472 CO_CANsetConfigurationMode(CANdriverState); in CO_CANinit() 476 CANdriverState, in CO_CANinit() 755 void *CANdriverState, in CO_init() argument 766 err = CO_CANinit(CANdriverState, bitRate); in CO_init() 768 CO_delete(CANdriverState); in CO_init() 774 CO_delete(CANdriverState); in CO_init() 783 void CO_delete(void *CANdriverState){ in CO_delete() argument [all …]
|
D | CO_driver.h | 122 void CO_CANsetConfigurationMode(void *CANdriverState); 152 void *CANdriverState,
|
/canopennode-2.7.6/stack/socketCAN/ |
D | CO_driver.c | 101 void CO_CANsetConfigurationMode(void *CANdriverState){ in CO_CANsetConfigurationMode() argument 118 void *CANdriverState, in CO_CANmodule_init() argument 129 if(CANmodule==NULL || CANdriverState==NULL || rxArray==NULL || txArray==NULL){ in CO_CANmodule_init() 135 CANmodule->CANdriverState = CANdriverState; in CO_CANmodule_init() 175 const int * const ifindex_ptr = CANdriverState; in CO_CANmodule_init() 338 canGetErrorCounters(CANmodule->CANdriverState, &rxErrors, &txErrors); in CO_CANverifyErrors()
|
D | CO_driver_target.h | 135 void *CANdriverState; member
|
/canopennode-2.7.6/stack/drvTemplate/ |
D | CO_driver.c | 34 void CO_CANsetConfigurationMode(void *CANdriverState){ in CO_CANsetConfigurationMode() argument 50 void *CANdriverState, in CO_CANmodule_init() argument 65 CANmodule->CANdriverState = CANdriverState; in CO_CANmodule_init()
|
D | CO_driver_target.h | 252 void *CANdriverState; /**< From CO_CANmodule_init() */ member
|