File nut/arch/cm3/dev/stm/stm32_twi2.c

References Functions: Stm32I2cBus2Init() nut/arch/cm3/dev/stm/stm32_twi2.c
  Stm32I2cBus2Recover() nut/arch/cm3/dev/stm/stm32_twi2.c

Included Files


Preprocessor definitions

#define I2CBUS2_SCL_PORT NUTGPIO_PORTB

#define I2CBUS2_SCL_PIN 10

#define I2CBUS2_SDA_PORT NUTGPIO_PORTB

#define I2CBUS2_SDA_PIN 11

#define I2CBUS2_SMBA_PORT NUTGPIO_PORTB

#define I2CBUS2_SMBA_PIN 11


Global Variable Stm32TwiBus_2

NUTTWIBUS Stm32TwiBus_2
Visible in:   nut/arch/cm3/dev/stm/stm32_twi2.c

Global Function Stm32I2cBus2Init()

int Stm32I2cBus2Init ( void )
Calls: GpioPinConfigSet() nut/arch/avr/dev/gpio_avr.c
  RCC_APB1PeriphClockCmd() nut/arch/cm3/dev/stm/stm32f2xx_rcc.c
  RCC_APB1PeriphResetCmd() nut/arch/cm3/dev/stm/stm32f2xx_rcc.c
  NVIC_SetPriority(), NVIC_SetPriorityGrouping()
Used in:   nut/arch/cm3/dev/stm/stm32_twi2.c

Global Function Stm32I2cBus2Recover()

int Stm32I2cBus2Recover ( void )
Calls: GpioPinConfigSet() nut/arch/avr/dev/gpio_avr.c
  NutMicroDelay()
Used in:   nut/arch/cm3/dev/stm/stm32_twi2.c