| /bsp/microchip/samc21/bsp/hpl/can/ |
| A D | hpl_can.c | 221 msg->len = dlc2len[f->R1.bit.DLC]; in _can_async_read() 267 f->T1.bit.DLC = msg->len; in _can_async_write() 269 f->T1.bit.DLC = 0x9; in _can_async_write() 271 f->T1.bit.DLC = 0xA; in _can_async_write() 273 f->T1.bit.DLC = 0xB; in _can_async_write() 275 f->T1.bit.DLC = 0xC; in _can_async_write() 277 f->T1.bit.DLC = 0xD; in _can_async_write() 279 f->T1.bit.DLC = 0xE; in _can_async_write() 281 f->T1.bit.DLC = 0xF; in _can_async_write()
|
| A D | hpl_can_base.h | 60 uint32_t DLC : 4; /*!< Data Length Code */ member 88 uint32_t DLC : 4; /*!< Data Length Code */ member 116 uint32_t DLC : 4; /*!< Data Length Code */ member
|
| /bsp/microchip/same70/bsp/hpl/mcan/ |
| A D | hpl_mcan.c | 222 msg->len = dlc2len[f->R1.bit.DLC]; in _can_async_read() 268 f->T1.bit.DLC = msg->len; in _can_async_write() 270 f->T1.bit.DLC = 0x9; in _can_async_write() 272 f->T1.bit.DLC = 0xA; in _can_async_write() 274 f->T1.bit.DLC = 0xB; in _can_async_write() 276 f->T1.bit.DLC = 0xC; in _can_async_write() 278 f->T1.bit.DLC = 0xD; in _can_async_write() 280 f->T1.bit.DLC = 0xE; in _can_async_write() 282 f->T1.bit.DLC = 0xF; in _can_async_write()
|
| A D | hpl_mcan.h | 60 uint32_t DLC : 4; /*!< Data Length Code */ member 88 uint32_t DLC : 4; /*!< Data Length Code */ member 116 uint32_t DLC : 4; /*!< Data Length Code */ member
|
| /bsp/microchip/same54/bsp/hpl/can/ |
| A D | hpl_can.c | 221 msg->len = dlc2len[f->R1.bit.DLC]; in _can_async_read() 267 f->T1.bit.DLC = msg->len; in _can_async_write() 269 f->T1.bit.DLC = 0x9; in _can_async_write() 271 f->T1.bit.DLC = 0xA; in _can_async_write() 273 f->T1.bit.DLC = 0xB; in _can_async_write() 275 f->T1.bit.DLC = 0xC; in _can_async_write() 277 f->T1.bit.DLC = 0xD; in _can_async_write() 279 f->T1.bit.DLC = 0xE; in _can_async_write() 281 f->T1.bit.DLC = 0xF; in _can_async_write()
|
| A D | hpl_can_base.h | 60 uint32_t DLC : 4; /*!< Data Length Code */ member 88 uint32_t DLC : 4; /*!< Data Length Code */ member 116 uint32_t DLC : 4; /*!< Data Length Code */ member
|
| /bsp/mm32f327x/Libraries/MM32F327x/HAL_Lib/Inc/ |
| A D | hal_can.h | 206 …u8 DLC; ///< Specifies the length of the frame that will be transmitted. This parameter can b… member 217 …u8 DLC; ///< Specifies the length of the frame that will be received. This parameter can be … member 235 …u8 DLC; ///< Specifies the length of the frame that will be transmitted. This parameter can be a … member 247 …u8 DLC; ///< Specifies the length of the frame that will be received. This parameter can be a val… member
|
| /bsp/mm32l07x/Libraries/MM32L0xx/HAL_lib/inc/ |
| A D | HAL_can.h | 241 uint8_t DLC; /*!< Specifies the length of the frame that will be member 264 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member 294 uint8_t DLC; /*!< Specifies the length of the frame that will be member 321 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member
|
| /bsp/mm32l3xx/Libraries/MM32L3xx/HAL_lib/inc/ |
| A D | HAL_can.h | 241 uint8_t DLC; /*!< Specifies the length of the frame that will be member 264 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member 294 uint8_t DLC; /*!< Specifies the length of the frame that will be member 321 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member
|
| /bsp/mm32f103x/Libraries/MM32F103/HAL_lib/inc/ |
| A D | HAL_can.h | 241 uint8_t DLC; /*!< Specifies the length of the frame that will be member 264 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member 294 uint8_t DLC; /*!< Specifies the length of the frame that will be member 321 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member
|
| /bsp/tkm32F499/Libraries/Hal_lib/inc/ |
| A D | HAL_can.h | 240 uint8_t DLC; /*!< Specifies the length of the frame that will be member 263 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member 293 uint8_t DLC; /*!< Specifies the length of the frame that will be member 320 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member
|
| /bsp/mm32l07x/Libraries/MM32L0xx/HAL_lib/src/ |
| A D | HAL_can.c | 177 assert_param(IS_CAN_DLC(BasicTxMessage->DLC)); in CAN_Transmit() 180 CANx->TXID1 = (BasicTxMessage->IDL<<5)|(BasicTxMessage->RTR<<4)|(BasicTxMessage->DLC); in CAN_Transmit() 243 BasicRxMessage->DLC = (uint8_t)((CANx->RXID1)&0xf); in CAN_Receive() 577 assert_param(IS_CAN_DLC(PeliTxMessage->DLC)); in CAN_Peli_Transmit() 579 CAN1_PELI->FF = (PeliTxMessage->FF<<7)|(PeliTxMessage->RTR<<6)|(PeliTxMessage->DLC); in CAN_Peli_Transmit() 637 assert_param(IS_CAN_DLC(PeliTxMessage->DLC)); in CAN_Peli_TransmitRepeat() 639 CAN1_PELI->FF = (PeliTxMessage->FF<<7)|(PeliTxMessage->RTR<<6)|(PeliTxMessage->DLC); in CAN_Peli_TransmitRepeat() 713 PeliRxMessage->DLC = (CAN1_PELI->FF)&0xf; in CAN_Peli_Receive()
|
| /bsp/mm32l3xx/Libraries/MM32L3xx/HAL_lib/src/ |
| A D | HAL_can.c | 177 assert_param(IS_CAN_DLC(BasicTxMessage->DLC)); in CAN_Transmit() 180 CANx->TXID1 = (BasicTxMessage->IDL<<5)|(BasicTxMessage->RTR<<4)|(BasicTxMessage->DLC); in CAN_Transmit() 243 BasicRxMessage->DLC = (uint8_t)((CANx->RXID1)&0xf); in CAN_Receive() 577 assert_param(IS_CAN_DLC(PeliTxMessage->DLC)); in CAN_Peli_Transmit() 579 CAN1_PELI->FF = (PeliTxMessage->FF<<7)|(PeliTxMessage->RTR<<6)|(PeliTxMessage->DLC); in CAN_Peli_Transmit() 637 assert_param(IS_CAN_DLC(PeliTxMessage->DLC)); in CAN_Peli_TransmitRepeat() 639 CAN1_PELI->FF = (PeliTxMessage->FF<<7)|(PeliTxMessage->RTR<<6)|(PeliTxMessage->DLC); in CAN_Peli_TransmitRepeat() 713 PeliRxMessage->DLC = (CAN1_PELI->FF)&0xf; in CAN_Peli_Receive()
|
| /bsp/mm32f103x/Libraries/MM32F103/HAL_lib/src/ |
| A D | HAL_can.c | 177 assert_param(IS_CAN_DLC(BasicTxMessage->DLC)); in CAN_Transmit() 180 CANx->TXID1 = (BasicTxMessage->IDL << 5) | (BasicTxMessage->RTR << 4) | (BasicTxMessage->DLC); in CAN_Transmit() 243 BasicRxMessage->DLC = (uint8_t)((CANx->RXID1) & 0xf); in CAN_Receive() 577 assert_param(IS_CAN_DLC(PeliTxMessage->DLC)); in CAN_Peli_Transmit() 579 CAN1_PELI->FF = (PeliTxMessage->FF << 7) | (PeliTxMessage->RTR << 6) | (PeliTxMessage->DLC); in CAN_Peli_Transmit() 637 assert_param(IS_CAN_DLC(PeliTxMessage->DLC)); in CAN_Peli_TransmitRepeat() 639 CAN1_PELI->FF = (PeliTxMessage->FF << 7) | (PeliTxMessage->RTR << 6) | (PeliTxMessage->DLC); in CAN_Peli_TransmitRepeat() 713 PeliRxMessage->DLC = (CAN1_PELI->FF) & 0xf; in CAN_Peli_Receive()
|
| /bsp/loongson/ls1cdev/libraries/ |
| A D | ls1c_can.c | 389 (TxMessage ->DLC & 0x0F); in CAN_Transmit() 390 for( i=0;i<TxMessage ->DLC; i++) in CAN_Transmit() 401 (TxMessage ->DLC & 0x0F); in CAN_Transmit() 404 for( i=0;i<TxMessage ->DLC-2; i++) in CAN_Transmit() 419 RxMessage->DLC= (CANx->IDE_RTR_DLC & 0x0F); in CAN_Receive()
|
| A D | ls1c_can.h | 182 unsigned char DLC; /*数据帧长度*/ member 197 unsigned char DLC; /*数据帧长度*/ member
|
| /bsp/acm32/acm32f0x0-nucleo/libraries/HAL_Driver/Src/ |
| A D | HAL_CAN.c | 209 if(!IS_CAN_DLC(TxMessage->DLC)) return HAL_ERROR; in HAL_CAN_Transmit() 211 frame_header =TxMessage->DLC & 0x0F; // standard data frame in HAL_CAN_Transmit() 237 for(i=0; i<TxMessage->DLC; i++) in HAL_CAN_Transmit() 325 RxMessage->DLC = (uint8_t)0x0F & hcan->Instance->DF.DATABUF[0]; in HAL_CAN_GetRxMessage() 329 for(i=0; i<RxMessage->DLC; i++) in HAL_CAN_GetRxMessage() 337 for(i=0; i<RxMessage->DLC; i++) in HAL_CAN_GetRxMessage()
|
| /bsp/tkm32F499/Libraries/Hal_lib/src/ |
| A D | HAL_can.c | 182 assert_param(IS_CAN_DLC(BasicTxMessage->DLC)); in CAN_Transmit() 185 CANx->TXID1 = (BasicTxMessage->IDL << 5) | (BasicTxMessage->RTR << 4) | (BasicTxMessage->DLC); in CAN_Transmit() 248 BasicRxMessage->DLC = (uint8_t)((CANx->RXID1) & 0xf); in CAN_Receive() 644 assert_param(IS_CAN_DLC(PeliTxMessage->DLC)); in CAN_Peli_Transmit() 648 … CAN1_PELI->FF = (PeliTxMessage->FF << 7) | (PeliTxMessage->RTR << 6) | (PeliTxMessage->DLC); in CAN_Peli_Transmit() 694 … CAN2_PELI->FF = (PeliTxMessage->FF << 7) | (PeliTxMessage->RTR << 6) | (PeliTxMessage->DLC); in CAN_Peli_Transmit() 755 assert_param(IS_CAN_DLC(PeliTxMessage->DLC)); in CAN_Peli_TransmitRepeat() 759 … CAN1_PELI->FF = (PeliTxMessage->FF << 7) | (PeliTxMessage->RTR << 6) | (PeliTxMessage->DLC); in CAN_Peli_TransmitRepeat() 805 … CAN2_PELI->FF = (PeliTxMessage->FF << 7) | (PeliTxMessage->RTR << 6) | (PeliTxMessage->DLC); in CAN_Peli_TransmitRepeat() 887 PeliRxMessage->DLC = (CAN1_PELI->FF) & 0xf; in CAN_Peli_Receive() [all …]
|
| /bsp/acm32/acm32f4xx-nucleo/libraries/HAL_Driver/Src/ |
| A D | HAL_CAN.c | 251 if(!IS_CAN_DLC(TxMessage->DLC)) return HAL_ERROR; in HAL_CAN_Transmit() 253 frame_header =TxMessage->DLC & 0x0F; // standard data frame in HAL_CAN_Transmit() 279 for(i=0; i<TxMessage->DLC; i++) in HAL_CAN_Transmit() 367 RxMessage->DLC = (uint8_t)0x0F & hcan->Instance->DF.DATABUF[0]; in HAL_CAN_GetRxMessage() 371 for(i=0; i<RxMessage->DLC; i++) in HAL_CAN_GetRxMessage() 379 for(i=0; i<RxMessage->DLC; i++) in HAL_CAN_GetRxMessage()
|
| /bsp/airm2m/air32f103/libraries/AIR32F10xLib/inc/ |
| A D | air32f10x_can.h | 139 uint8_t DLC; /*!< Specifies the length of the frame that will be member 167 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member 380 #define IS_CAN_DLC(DLC) ((DLC) <= ((uint8_t)0x08)) argument
|
| /bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/inc/ |
| A D | n32l43x_can.h | 170 uint8_t DLC; /*!< Specifies the length of the frame that will be member 198 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member 391 #define IS_CAN_DLC(DLC) ((DLC) <= ((uint8_t)0x08)) argument
|
| /bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/inc/ |
| A D | n32l40x_can.h | 170 uint8_t DLC; /*!< Specifies the length of the frame that will be member 198 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member 391 #define IS_CAN_DLC(DLC) ((DLC) <= ((uint8_t)0x08)) argument
|
| /bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/inc/ |
| A D | n32g45x_can.h | 170 uint8_t DLC; /*!< Specifies the length of the frame that will be member 198 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member 391 #define IS_CAN_DLC(DLC) ((DLC) <= ((uint8_t)0x08)) argument
|
| /bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/inc/ |
| A D | n32g4fr_can.h | 170 uint8_t DLC; /*!< Specifies the length of the frame that will be member 198 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member 391 #define IS_CAN_DLC(DLC) ((DLC) <= ((uint8_t)0x08)) argument
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/inc/ |
| A D | n32wb452_can.h | 170 uint8_t DLC; /*!< Specifies the length of the frame that will be member 198 uint8_t DLC; /*!< Specifies the length of the frame that will be received. member 391 #define IS_CAN_DLC(DLC) ((DLC) <= ((uint8_t)0x08)) argument
|