PDK API Guide for J721E

Introduction

Data Structures

struct  Board_FpdRmtDevObj
 FPD remote device object structure. More...
 
struct  Board_FpdModuleObj
 FPD module object structure. More...
 
struct  Board_I2cRegProgObj
 FPD remote device object structure. More...
 

Macros

#define BOARD_DEVICES_CONFIG_END   (-1)
 
#define BOARD_DEVICES_STS_LOG(x, ...)
 
#define BOARD_DEVICES_ERR_LOG(x, ...)
 
#define BOARD_FPD_MAX_REMOTE_SENSOR_DEVICES   (8U)
 
#define BOARD_FPD_MODE_DISABLE   (0U)
 
#define BOARD_FPD_MODE_ENABLE   (1U)
 
#define BOARD_FPD_MODE_NORMAL   (0U)
 
#define BOARD_FPD_MODE_RESET   (1U)
 
#define BOARD_FPD_KBPS_100   (0x64U)
 
#define BOARD_FPD_KBPS_400   (0x32U)
 
#define BOARD_I2C_REG_ADDR_MSB_FIRST   (0x0U)
 
#define BOARD_I2C_REG_ADDR_LSB_FIRST   (0x1U)
 
#define ONE_MILLI_SEC   (1U)
 
#define BOARD_FPD_I2C_CFG_DELAY   (5 * ONE_MILLI_SEC)
 
#define BOARD_I2C_TRANSACTION_TIMEOUT   (2000U)
 

Macro Definition Documentation

#define BOARD_DEVICES_CONFIG_END   (-1)
#define BOARD_DEVICES_STS_LOG (   x,
  ... 
)
#define BOARD_DEVICES_ERR_LOG (   x,
  ... 
)
#define BOARD_FPD_MAX_REMOTE_SENSOR_DEVICES   (8U)
#define BOARD_FPD_MODE_DISABLE   (0U)

Sete the FPD module to disable state

#define BOARD_FPD_MODE_ENABLE   (1U)

Sete the FPD module to enable state

#define BOARD_FPD_MODE_NORMAL   (0U)

Sets the FPD mode to normal operation

#define BOARD_FPD_MODE_RESET   (1U)

Sets the FPD mode to reset

#define BOARD_FPD_KBPS_100   (0x64U)

Sets the FPD I2C serial clock frequency to 100KBPS

#define BOARD_FPD_KBPS_400   (0x32U)

Sets the FPD I2C serial clock frequency to 400KBPS

#define BOARD_I2C_REG_ADDR_MSB_FIRST   (0x0U)

To send the MSB of a register offset address first

#define BOARD_I2C_REG_ADDR_LSB_FIRST   (0x1U)

To send the LSB of a register offset address first

#define ONE_MILLI_SEC   (1U)
#define BOARD_FPD_I2C_CFG_DELAY   (5 * ONE_MILLI_SEC)

I2C delay of 5 milliseconds

#define BOARD_I2C_TRANSACTION_TIMEOUT   (2000U)

I2C transaction default timeout