behzadmsl
Junior Member level 2
hi
I'm trying to learn ARM nxp lpc1768,and i also attempting to use CMSIS library in my projects.So i downloaded lpc17xx CMSIS Driver Library Manual to read.
I'm bit confused with code,and unfortunately i can't compile the code in order to make it clear for myself..
what does "1<<21" mean?? is "<<" a shift operator? or it's an assignment operator??
GPIO_SetDir(0,1<<21,1);
thanks in advance
I'm trying to learn ARM nxp lpc1768,and i also attempting to use CMSIS library in my projects.So i downloaded lpc17xx CMSIS Driver Library Manual to read.
I'm bit confused with code,and unfortunately i can't compile the code in order to make it clear for myself..
what does "1<<21" mean?? is "<<" a shift operator? or it's an assignment operator??
GPIO_SetDir(0,1<<21,1);
thanks in advance