title: Split uint16_t in bits in C
body: <p>Hello I have a uint16_t number and I need to split it in 3 parts.</p>
  
  <p>The first 5 bits of this number gives me the hour.</p>
  
  <p>The next 6 bits of this number gives me the minutes.</p>
  
  <p>The next 5 bits of this number gives me the seconds.</p>
  
  <p>So I need to split it in those 3 parts to get the info I need.</p>
  
  <p>any idea ?</p>