mcp2515_driver.c
static uint8_t TXBnSIDH(uint8_t _buff)
{
	switch(_buff)
	{
		case 0:
			return TXB0SIDH;

		case 1:
			return TXB1SIDH;

		case 2:
			return TXB2SIDH;
	}

	return 0;
}
/**
 * @brief Utility function to get the address of TXBnSIDH register.
*/
@brief Utility function to get the address of TXBnSIDH register.
@brief Utility function to get the address of TXBnSIDH register .
static uint8_t TXBnSIDH(uint8_t _buff)
{
	switch(_buff)
	{
		case 0:
			return TXB0SIDH;
		case 1:
			return TXB1SIDH;
		case 2:
			return TXB2SIDH;
	}
	return 0;
}
static uint8_t TXBnSIDH ( uint8_t _buff ) { switch ( _buff ) { case 0 : return TXB0SIDH ; case 1 : return TXB1SIDH ; case 2 : return TXB2SIDH ; } return 0 ; }
@brief Utility function to get the address of TXBnSIDH register.
@brief Utility function to get the address of TXBnSIDH register .