Raspberry Pio Pico Drivers project
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Typedefs
i2cmaster.hpp File Reference

I2C Master Controller. More...

#include <stdint.h>
#include "sdk/sdkwrapper.hpp"
Include dependency graph for i2cmaster.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  rpp_driver::I2cMaster
 I2C Master controller class. More...
 
class  rpp_driver::MockI2cMaster
 Mock class for test. More...
 

Namespaces

namespace  rpp_driver
 Collection of the RP2040/RP2350 control.
 

Macros

#define PICO_ERROR_GENERIC   -1
 Alternate definition of the return value on error for Google Test build.
 
#define GPIO_FUNC_I2C   11
 

Typedefs

typedef int i2c_inst_t
 Alternate definition for unit test.
 

Detailed Description

I2C Master Controller.

Date
2024/Aug/16
Author
Seiichi Horie

I2C master Implementation.

Macro Definition Documentation

◆ GPIO_FUNC_I2C

#define GPIO_FUNC_I2C   11

Alternate definition of the return value on error for I2C function number for GPIO.