This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What does mask and "1 <<" mean!

What does mask and 1<< mean in the following code:

#define BSP_LED_0_MASK (1<<BSP_LED_0)
#define BSP_LED_1_MASK (1<<BSP_LED_1)
#define BSP_LED_2_MASK (1<<BSP_LED_2)
#define BSP_LED_3_MASK (1<<BSP_LED_3)
Related