Library for PAT9125 on L476RG platform
Fork of pat9125_mbed by
Embed:
(wiki syntax)
Show/hide line numbers
pat9125_i2c.cpp
00001 #include "pat9125_i2c.h" 00002 00003 static pat9125_i2c *_self ; 00004 static PinName _sda ; 00005 static PinName _scl ; 00006 00007 00008 pat9125_i2c::pat9125_i2c(PinName sda, PinName scl) : I2C(sda, scl) 00009 { 00010 _self = this ; 00011 _sda = sda , 00012 _scl = scl ; 00013 } 00014 00015 pat9125_i2c* pat9125_i2c::reset() 00016 { 00017 delete _self ; 00018 _self = new pat9125_i2c(_sda, _scl); 00019 return _self ; 00020 }
Generated on Fri Jul 15 2022 03:45:47 by
![doxygen](doxygen.png)