Lines Matching refs:mailbox
787 CAN_TxMailBox_TypeDef *mailbox = NULL; in can_stm32_send() local
834 mailbox = &can->sTxMailBox[0]; in can_stm32_send()
838 mailbox = &can->sTxMailBox[1]; in can_stm32_send()
842 mailbox = &can->sTxMailBox[2]; in can_stm32_send()
850 mailbox->TIR &= CAN_TI0R_TXRQ; in can_stm32_send()
853 mailbox->TIR |= (frame->id << CAN_TI0R_EXID_Pos) in can_stm32_send()
856 mailbox->TIR |= (frame->id << CAN_TI0R_STID_Pos); in can_stm32_send()
860 mailbox->TIR |= CAN_TI1R_RTR; in can_stm32_send()
862 mailbox->TDLR = frame->data_32[0]; in can_stm32_send()
863 mailbox->TDHR = frame->data_32[1]; in can_stm32_send()
866 mailbox->TDTR = (mailbox->TDTR & ~CAN_TDT1R_DLC) | in can_stm32_send()
869 mailbox->TIR |= CAN_TI0R_TXRQ; in can_stm32_send()