Home
last modified time | relevance | path

Searched refs:i2c_dev (Results 1 – 3 of 3) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/
Dhpl_i2c_m_async.h65 typedef void (*_i2c_complete_cb_t)(struct _i2c_m_async_device *i2c_dev);
66 typedef void (*_i2c_error_cb_t)(struct _i2c_m_async_device *i2c_dev, int32_t errcode);
101 int32_t _i2c_m_async_init(struct _i2c_m_async_device *const i2c_dev, void *const hw);
110 int32_t _i2c_m_async_deinit(struct _i2c_m_async_device *const i2c_dev);
121 int32_t _i2c_m_async_enable(struct _i2c_m_async_device *const i2c_dev);
132 int32_t _i2c_m_async_disable(struct _i2c_m_async_device *const i2c_dev);
144 int32_t _i2c_m_async_transfer(struct _i2c_m_async_device *const i2c_dev, struct _i2c_m_msg *msg);
157 int32_t _i2c_m_async_set_baudrate(struct _i2c_m_async_device *const i2c_dev, uint32_t clkrate, uint…
170 int32_t _i2c_m_async_register_callback(struct _i2c_m_async_device *i2c_dev, enum _i2c_m_async_callb…
184 int32_t _i2c_m_async_send_stop(struct _i2c_m_async_device *const i2c_dev);
[all …]
Dhpl_i2c_m_sync.h122 int32_t _i2c_m_sync_init(struct _i2c_m_sync_device *const i2c_dev, void *const hw);
131 int32_t _i2c_m_sync_deinit(struct _i2c_m_sync_device *const i2c_dev);
142 int32_t _i2c_m_sync_enable(struct _i2c_m_sync_device *const i2c_dev);
153 int32_t _i2c_m_sync_disable(struct _i2c_m_sync_device *const i2c_dev);
165 int32_t _i2c_m_sync_transfer(struct _i2c_m_sync_device *const i2c_dev, struct _i2c_m_msg *msg);
178 int32_t _i2c_m_sync_set_baudrate(struct _i2c_m_sync_device *const i2c_dev, uint32_t clkrate, uint32…
189 int32_t _i2c_m_sync_send_stop(struct _i2c_m_sync_device *const i2c_dev);
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c1036 int32_t _i2c_m_async_enable(struct _i2c_m_async_device *const i2c_dev) in _i2c_m_async_enable() argument
1038 ASSERT(i2c_dev); in _i2c_m_async_enable()
1040 _i2c_m_enable_implementation(i2c_dev->hw); in _i2c_m_async_enable()
1050 int32_t _i2c_m_async_disable(struct _i2c_m_async_device *const i2c_dev) in _i2c_m_async_disable() argument
1052 void *hw = i2c_dev->hw; in _i2c_m_async_disable()
1054 ASSERT(i2c_dev); in _i2c_m_async_disable()
1055 ASSERT(i2c_dev->hw); in _i2c_m_async_disable()
1070 int32_t _i2c_m_async_set_baudrate(struct _i2c_m_async_device *const i2c_dev, uint32_t clkrate, uint… in _i2c_m_async_set_baudrate() argument
1073 void * hw = i2c_dev->hw; in _i2c_m_async_set_baudrate()
1082 if (i2c_dev->service.mode == I2C_STANDARD_MODE) { in _i2c_m_async_set_baudrate()
[all …]