mcp2515_driver.c
static uint8_t TXBnDLC(uint8_t _buff)
{
	switch(_buff)
	{
		case 0:
			return TXB0DLC;

		case 1:
			return TXB1DLC;

		case 2:
			return TXB2DLC;
	}

	return 0;
}
/**
 * @brief Utility function to get the address of TXBnDLC register.
*/
@brief Utility function to get the address of TXBnDLC register.
@brief Utility function to get the address of TXBnDLC register .
static uint8_t TXBnDLC(uint8_t _buff)
{
	switch(_buff)
	{
		case 0:
			return TXB0DLC;
		case 1:
			return TXB1DLC;
		case 2:
			return TXB2DLC;
	}
	return 0;
}
static uint8_t TXBnDLC ( uint8_t _buff ) { switch ( _buff ) { case 0 : return TXB0DLC ; case 1 : return TXB1DLC ; case 2 : return TXB2DLC ; } return 0 ; }
@brief Utility function to get the address of TXBnDLC register.
@brief Utility function to get the address of TXBnDLC register .