Midnight Sun Firmware
Loading...
Searching...
No Matches
I2CPortData

I2C Port data. More...

Public Attributes

I2C_TypeDef * base
 
void(* rcc_cmd )(void)
 
uint8_t ev_irqn
 
uint8_t err_irqn
 
bool initialized
 

Detailed Description

I2C Port data.

Member Data Documentation

◆ base

I2C_TypeDef* base

I2C HW Base address

◆ err_irqn

uint8_t err_irqn

Error interrupt number

◆ ev_irqn

uint8_t ev_irqn

Event interrupt number

◆ initialized

bool initialized

Initialized flag

◆ rcc_cmd

void(* rcc_cmd) (void)

Function pointer to enable I2C clock using RCC


The documentation for this struct was generated from the following file: