LPC2148 Code

Discussion in 'Programmer's Corner' started by ofick, Jan 15, 2011.

  1. ofick

    Thread Starter New Member

    Aug 24, 2010
    1
    0
    Can anyone tell me what (1<<23), for example, does in C code? I see it use a lot but cannot find any references that discuss its use.
     
  2. maxpower097

    Well-Known Member

    Feb 20, 2009
    795
    388
    bit shift left.
     
    Last edited: Jan 17, 2011
  3. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    Shift Left, A super-fast multiply for certain numbers and easy masking to get some bits set.
     
Loading...