/* Put Magnetometer in power down mode or not.  */
void LSM303C_MagLowPower(uint16_t Mode)
/* Put Magnetometer in power down mode or not.  */
void LSM303C_MagLowPower(uint16_t Mode)
{  
  uint8_t ctrl = 0x00;
  ctrl = MAGNETO_IO_Read(LSM303C_CTRL_REG3_M);
  ctrl &= ~(LSM303C_MAG_SELECTION_MODE);
  ctrl |= (uint8_t)Mode;
  MAGNETO_IO_Write(LSM303C_CTRL_REG3_M, ctrl);
}