RT-USB-THP  0
USB出力温湿気圧センサモジュールのサンプルプログラムに関する説明
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
 

関数詳解

void I2C_IRQHandler ( void  )
uint32_t I2CEngine ( void  )

呼び出し関係図:

被呼び出し関係図:

uint32_t I2CInit ( uint32_t  I2cMode)

被呼び出し関係図:

uint32_t I2CStart ( void  )

被呼び出し関係図:

uint32_t I2CStop ( void  )

被呼び出し関係図:

変数詳解

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