STM32 reading ADC and using CAN

Slave code for reading IN0, IN1, IN2, IN3, IN4 pins of ADC1 and sending this data via CAN. While using can bus, filtering was done using the masking method.

This image contains the CAN parameter settings.