|
Open Model Railroad Network (OpenMRN)
|
#include "Stm32I2C.hxx"Go to the source code of this file.
Functions | |
| static void | i2c_reset (I2C_TypeDef *port) |
| Stm32I2C * | dev_from_handle (I2C_HandleTypeDef *hi2c) |
| void | HAL_I2C_MasterTxCpltCallback (I2C_HandleTypeDef *hi2c) |
| void | HAL_I2C_MasterRxCpltCallback (I2C_HandleTypeDef *hi2c) |
| void | HAL_I2C_ErrorCallback (I2C_HandleTypeDef *hi2c) |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file implements an I2C device driver layer on top of the STM32 Cube middleware.
Definition in file Stm32I2C.cxx.
| Stm32I2C * dev_from_handle | ( | I2C_HandleTypeDef * | hi2c | ) |
Definition at line 258 of file Stm32I2C.cxx.
| void HAL_I2C_ErrorCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
Definition at line 308 of file Stm32I2C.cxx.
| void HAL_I2C_MasterRxCpltCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
Definition at line 303 of file Stm32I2C.cxx.
| void HAL_I2C_MasterTxCpltCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
Definition at line 298 of file Stm32I2C.cxx.
|
static |
Definition at line 84 of file Stm32I2C.cxx.