mcp2515_driver.c
static uint8_t RXFnSIDH(uint8_t _buff)
{
	switch(_buff)
	{
	case 0:
		return RXF0SIDH;

	case 1:
		return RXF1SIDH;

	case 2:
		return RXF2SIDH;

	case 3:
		return RXF3SIDH;

	case 4:
		return RXF4SIDH;

	case 5:
		return RXF5SIDH;
	}
	return 0;
}
/**
 * @brief Utility function to get the address of RXFnSIDH register.
*/
@brief Utility function to get the address of RXFnSIDH register.
@brief Utility function to get the address of RXFnSIDH register .
static uint8_t RXFnSIDH(uint8_t _buff)
{
	switch(_buff)
	{
	case 0:
		return RXF0SIDH;
	case 1:
		return RXF1SIDH;
	case 2:
		return RXF2SIDH;
	case 3:
		return RXF3SIDH;
	case 4:
		return RXF4SIDH;
	case 5:
		return RXF5SIDH;
	}
	return 0;
}
static uint8_t RXFnSIDH ( uint8_t _buff ) { switch ( _buff ) { case 0 : return RXF0SIDH ; case 1 : return RXF1SIDH ; case 2 : return RXF2SIDH ; case 3 : return RXF3SIDH ; case 4 : return RXF4SIDH ; case 5 : return RXF5SIDH ; } return 0 ; }
@brief Utility function to get the address of RXFnSIDH register.
@brief Utility function to get the address of RXFnSIDH register .