|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
I2C peripheral common. More...
#include "I2C_peripheral.h"
Functions | |
| void | I2C_peripheral_GPIO_init (PeripheralGPIO_t *const pGPIO, GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const GPIO_PinState GPIO_Active) |
| I2C peripheral GPIO pin init. | |
| bool | I2C_peripheral_GPIO_get (const PeripheralGPIO_t *const pGPIO) |
| I2C peripheral GPIO pin getter. | |
| void | I2C_peripheral_GPIO_set (const PeripheralGPIO_t *const pGPIO, const bool state) |
| I2C peripheral GPIO pin setter. | |
I2C peripheral common.
| bool I2C_peripheral_GPIO_get | ( | const PeripheralGPIO_t *const | pGPIO | ) |
I2C peripheral GPIO pin getter.
| [in] | pGPIO | - Pointer to GPIO structure instance |

| void I2C_peripheral_GPIO_init | ( | PeripheralGPIO_t *const | pGPIO, |
| GPIO_TypeDef *const | GPIOx, | ||
| const uint16_t | GPIO_Pin, | ||
| const GPIO_PinState | GPIO_Active ) |
I2C peripheral GPIO pin init.
| [in,out] | pGPIO | - Pointer to GPIO structure instance |
| [in] | GPIOx | - GPIO port |
| [in] | GPIO_Pin | - GPIO pin |
| [in] | GPIO_Active | GPIO pin active state |

| void I2C_peripheral_GPIO_set | ( | const PeripheralGPIO_t *const | pGPIO, |
| const bool | state ) |
I2C peripheral GPIO pin setter.
| [in] | pGPIO | - Pointer to GPIO structure instance |
| [in] | state | - state to write on GPIO (0: inactive, 1: active) |
