TMS320F2800157: MCAN tx confirm in ISR

Part Number: TMS320F2800157

the project use 2 TX buffers.  every time the CAN frame TX complete,there is a ISR to comfirm which TX buffer it is. In the ISR , I use the function MCAN_getTxBufTransmissionStatus to get the status.But after send these to CAN frames, I fund that there are two bits is set. I do not know if this is correct. In this situation I can get the information which CAN frame is sended. So every time in the ISR how can I know which CAN frame is sended?

here is the picture of TXBTO that program is in the ISR

image.png