RT-AICHIPV3-sample
関数 | 変数
i2c.c ファイル
#include "LPC13xx.h"
#include "type.h"
#include "i2c.h"
i2c.c の依存先関係図:

関数

void I2C_IRQHandler (void)
 
uint32_t I2CStart (void)
 
uint32_t I2CStop (void)
 
uint32_t I2CInit (uint32_t I2cMode)
 
uint32_t I2CEngine (void)
 

変数

volatile uint32_t I2CMasterState = I2C_IDLE
 
volatile uint32_t I2CSlaveState = I2C_IDLE
 
volatile uint32_t I2CMode
 
volatile uint8_t I2CMasterBuffer [BUFSIZE]
 
volatile uint8_t I2CSlaveBuffer [BUFSIZE]
 
volatile uint32_t I2CCount = 0
 
volatile uint32_t I2CReadLength
 
volatile uint32_t I2CWriteLength
 
volatile uint32_t RdIndex = 0
 
volatile uint32_t WrIndex = 0
 

関数詳解

◆ I2C_IRQHandler()

void I2C_IRQHandler ( void  )

◆ I2CEngine()

uint32_t I2CEngine ( void  )
呼び出し関係図:
被呼び出し関係図:

◆ I2CInit()

uint32_t I2CInit ( uint32_t  I2cMode)
被呼び出し関係図:

◆ I2CStart()

uint32_t I2CStart ( void  )
被呼び出し関係図:

◆ I2CStop()

uint32_t I2CStop ( void  )
被呼び出し関係図:

変数詳解

◆ I2CCount

volatile uint32_t I2CCount = 0

◆ I2CMasterBuffer

volatile uint8_t I2CMasterBuffer[BUFSIZE]

◆ I2CMasterState

volatile uint32_t I2CMasterState = I2C_IDLE

◆ I2CMode

volatile uint32_t I2CMode

◆ I2CReadLength

volatile uint32_t I2CReadLength

◆ I2CSlaveBuffer

volatile uint8_t I2CSlaveBuffer[BUFSIZE]

◆ I2CSlaveState

volatile uint32_t I2CSlaveState = I2C_IDLE

◆ I2CWriteLength

volatile uint32_t I2CWriteLength

◆ RdIndex

volatile uint32_t RdIndex = 0

◆ WrIndex

volatile uint32_t WrIndex = 0