[NUCLEOs] enhance i2c api
Merge pull request #471 from dbestm/master

[NUCLEOs] enhance i2c api