/loramac-node-latest/src/system/ |
D | i2c.c | 54 LmnStatus_t I2cWrite( I2c_t *obj, uint8_t deviceAddr, uint8_t data ) in I2cWrite() argument 58 if( I2cMcuWriteBuffer( obj, deviceAddr, &data, 1 ) == LMN_STATUS_ERROR ) in I2cWrite() 61 if( I2cMcuWriteBuffer( obj, deviceAddr, &data, 1 ) == LMN_STATUS_ERROR ) in I2cWrite() 81 LmnStatus_t I2cWriteBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cWriteBuffer() argument 85 if( I2cMcuWriteBuffer( obj, deviceAddr, buffer, size ) == LMN_STATUS_ERROR ) in I2cWriteBuffer() 88 if( I2cMcuWriteBuffer( obj, deviceAddr, buffer, size ) == LMN_STATUS_ERROR ) in I2cWriteBuffer() 108 LmnStatus_t I2cWriteMem( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t data ) in I2cWriteMem() argument 112 if( I2cMcuWriteMemBuffer( obj, deviceAddr, addr, &data, 1 ) == LMN_STATUS_ERROR ) in I2cWriteMem() 115 if( I2cMcuWriteMemBuffer( obj, deviceAddr, addr, &data, 1 ) == LMN_STATUS_ERROR ) in I2cWriteMem() 135 LmnStatus_t I2cWriteMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, uint… in I2cWriteMemBuffer() argument [all …]
|
D | i2c.h | 83 LmnStatus_t I2cWrite( I2c_t *obj, uint8_t deviceAddr, uint8_t data ); 93 LmnStatus_t I2cWriteBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ); 103 LmnStatus_t I2cWriteMem( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t data ); 114 LmnStatus_t I2cWriteMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, uint… 123 LmnStatus_t I2cRead( I2c_t *obj, uint8_t deviceAddr, uint8_t *data ); 133 LmnStatus_t I2cReadBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ); 143 LmnStatus_t I2cReadMem( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *data ); 154 LmnStatus_t I2cReadMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, uint1…
|
/loramac-node-latest/src/boards/SAMR34/ |
D | i2c-board.c | 76 LmnStatus_t I2cMcuWriteBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuWriteBuffer() argument 78 i2c_m_sync_set_slaveaddr( &I2C_INSTANCE, deviceAddr, I2C_M_SEVEN ); in I2cMcuWriteBuffer() 89 LmnStatus_t I2cMcuReadBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuReadBuffer() argument 91 i2c_m_sync_set_slaveaddr( &I2C_INSTANCE, deviceAddr, I2C_M_SEVEN ); in I2cMcuReadBuffer() 102 LmnStatus_t I2cMcuWriteMemBuffer( I2c_t* obj, uint8_t deviceAddr, uint16_t addr, uint8_t* buffer, u… in I2cMcuWriteMemBuffer() argument 104 i2c_m_sync_set_slaveaddr( &I2C_INSTANCE, deviceAddr, I2C_M_SEVEN ); in I2cMcuWriteMemBuffer() 115 LmnStatus_t I2cMcuReadMemBuffer( I2c_t* obj, uint8_t deviceAddr, uint16_t addr, uint8_t* buffer, ui… in I2cMcuReadMemBuffer() argument 117 i2c_m_sync_set_slaveaddr( &I2C_INSTANCE, deviceAddr, I2C_M_SEVEN ); in I2cMcuReadMemBuffer()
|
/loramac-node-latest/src/boards/NucleoL152/ |
D | i2c-board.c | 108 LmnStatus_t I2cMcuWriteBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuWriteBuffer() argument 112 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer() 117 LmnStatus_t I2cMcuReadBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuReadBuffer() argument 121 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer() 126 LmnStatus_t I2cMcuWriteMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, u… in I2cMcuWriteMemBuffer() argument 139 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer() 144 LmnStatus_t I2cMcuReadMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, ui… in I2cMcuReadMemBuffer() argument 157 …status = ( HAL_I2C_Mem_Read( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HAL… in I2cMcuReadMemBuffer() 162 LmnStatus_t I2cMcuWaitStandbyState( I2c_t *obj, uint8_t deviceAddr ) in I2cMcuWaitStandbyState() argument 166 …status = ( HAL_I2C_IsDeviceReady( &I2cHandle, deviceAddr, 300, 4096 ) == HAL_OK ) ? LMN_STATUS_OK … in I2cMcuWaitStandbyState()
|
/loramac-node-latest/src/boards/NucleoL476/ |
D | i2c-board.c | 110 LmnStatus_t I2cMcuWriteBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuWriteBuffer() argument 114 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer() 119 LmnStatus_t I2cMcuReadBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuReadBuffer() argument 123 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer() 128 LmnStatus_t I2cMcuWriteMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, u… in I2cMcuWriteMemBuffer() argument 141 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer() 146 LmnStatus_t I2cMcuReadMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, ui… in I2cMcuReadMemBuffer() argument 159 …status = ( HAL_I2C_Mem_Read( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HAL… in I2cMcuReadMemBuffer() 164 LmnStatus_t I2cMcuWaitStandbyState( I2c_t *obj, uint8_t deviceAddr ) in I2cMcuWaitStandbyState() argument 168 …status = ( HAL_I2C_IsDeviceReady( &I2cHandle, deviceAddr, 300, 4096 ) == HAL_OK ) ? LMN_STATUS_OK … in I2cMcuWaitStandbyState()
|
/loramac-node-latest/src/boards/NAMote72/ |
D | i2c-board.c | 108 LmnStatus_t I2cMcuWriteBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuWriteBuffer() argument 112 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer() 117 LmnStatus_t I2cMcuReadBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuReadBuffer() argument 121 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer() 126 LmnStatus_t I2cMcuWriteMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, u… in I2cMcuWriteMemBuffer() argument 139 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer() 144 LmnStatus_t I2cMcuReadMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, ui… in I2cMcuReadMemBuffer() argument 157 …status = ( HAL_I2C_Mem_Read( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HAL… in I2cMcuReadMemBuffer() 162 LmnStatus_t I2cMcuWaitStandbyState( I2c_t *obj, uint8_t deviceAddr ) in I2cMcuWaitStandbyState() argument 166 …status = ( HAL_I2C_IsDeviceReady( &I2cHandle, deviceAddr, 300, 4096 ) == HAL_OK ) ? LMN_STATUS_OK … in I2cMcuWaitStandbyState()
|
/loramac-node-latest/src/boards/B-L072Z-LRWAN1/ |
D | i2c-board.c | 110 LmnStatus_t I2cMcuWriteBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuWriteBuffer() argument 114 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer() 119 LmnStatus_t I2cMcuReadBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuReadBuffer() argument 123 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer() 128 LmnStatus_t I2cMcuWriteMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, u… in I2cMcuWriteMemBuffer() argument 141 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer() 146 LmnStatus_t I2cMcuReadMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, ui… in I2cMcuReadMemBuffer() argument 159 …status = ( HAL_I2C_Mem_Read( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HAL… in I2cMcuReadMemBuffer() 164 LmnStatus_t I2cMcuWaitStandbyState( I2c_t *obj, uint8_t deviceAddr ) in I2cMcuWaitStandbyState() argument 168 …status = ( HAL_I2C_IsDeviceReady( &I2cHandle, deviceAddr, 300, 4096 ) == HAL_OK ) ? LMN_STATUS_OK … in I2cMcuWaitStandbyState()
|
/loramac-node-latest/src/boards/NucleoL073/ |
D | i2c-board.c | 110 LmnStatus_t I2cMcuWriteBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuWriteBuffer() argument 114 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer() 119 LmnStatus_t I2cMcuReadBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuReadBuffer() argument 123 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer() 128 LmnStatus_t I2cMcuWriteMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, u… in I2cMcuWriteMemBuffer() argument 141 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer() 146 LmnStatus_t I2cMcuReadMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, ui… in I2cMcuReadMemBuffer() argument 159 …status = ( HAL_I2C_Mem_Read( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HAL… in I2cMcuReadMemBuffer() 164 LmnStatus_t I2cMcuWaitStandbyState( I2c_t *obj, uint8_t deviceAddr ) in I2cMcuWaitStandbyState() argument 168 …status = ( HAL_I2C_IsDeviceReady( &I2cHandle, deviceAddr, 300, 4096 ) == HAL_OK ) ? LMN_STATUS_OK … in I2cMcuWaitStandbyState()
|
/loramac-node-latest/src/boards/ |
D | i2c-board.h | 115 LmnStatus_t I2cMcuWriteBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ); 125 LmnStatus_t I2cMcuReadBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ); 136 LmnStatus_t I2cMcuWriteMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, u… 147 LmnStatus_t I2cMcuReadMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, ui… 155 LmnStatus_t I2cMcuWaitStandbyState( I2c_t *obj, uint8_t deviceAddr );
|