Home
last modified time | relevance | path

Searched refs:DLC (Results 1 – 25 of 77) sorted by relevance

1234

/bsp/microchip/samc21/bsp/hpl/can/
A Dhpl_can.c221 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 Dhpl_can_base.h60 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 Dhpl_mcan.c222 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 Dhpl_mcan.h60 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 Dhpl_can.c221 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 Dhpl_can_base.h60 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 Dhal_can.h206 …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 DHAL_can.h241 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 DHAL_can.h241 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 DHAL_can.h241 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 DHAL_can.h240 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 DHAL_can.c177 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 DHAL_can.c177 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 DHAL_can.c177 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 Dls1c_can.c389 (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 Dls1c_can.h182 unsigned char DLC; /*数据帧长度*/ member
197 unsigned char DLC; /*数据帧长度*/ member
/bsp/acm32/acm32f0x0-nucleo/libraries/HAL_Driver/Src/
A DHAL_CAN.c209 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 DHAL_can.c182 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 DHAL_CAN.c251 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 Dair32f10x_can.h139 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 Dn32l43x_can.h170 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 Dn32l40x_can.h170 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 Dn32g45x_can.h170 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 Dn32g4fr_can.h170 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 Dn32wb452_can.h170 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

Completed in 750 milliseconds

1234