Implemented first Hangar-Service

Dependencies:   CalibrateMagneto QuaternionMath

Fork of SML2 by TobyRich GmbH

Embed: (wiki syntax)

« Back to documentation index

PowerAwareI2C Class Reference

PowerAwareI2C Class Reference

This is a variation of I2C class from mbed, which adds power on and off functions to the I2C peripheral. This should save about 1 mA. More...

#include <PowerAwareI2C.h>

Public Member Functions

void powerOn ()
 Power on the I2C peripheral.
void powerOff ()
 Power off the I2C peripheral.

Detailed Description

This is a variation of I2C class from mbed, which adds power on and off functions to the I2C peripheral. This should save about 1 mA.

Definition at line 8 of file PowerAwareI2C.h.


Member Function Documentation

void powerOff (  )

Power off the I2C peripheral.

Definition at line 19 of file PowerAwareI2C.h.

void powerOn (  )

Power on the I2C peripheral.

Definition at line 14 of file PowerAwareI2C.h.