PDK API Guide for J721E
NSF4 Configuration

Introduction

This is VISS NSF4 Configuration file

Files

file  nsf4_cfg.h
 Interface file for NSF4 module, Defines the structures / control operations that could be used to configure / control NSF4 module in VISS NSF4 is independent module, between RAW FE and FCFA. This is why a separate interface file is used for controlling NSF4.
 

Data Structures

struct  Nsf4_PwlConfig
 PWL configuration, used in defining PWL curve in LSCC. More...
 
struct  Nsf4_LsccConfig
 LSCC configuration. More...
 
struct  Nsf4v_Config
 NSF4 configuration. More...
 

Functions

static void Nsf4vConfig_init (Nsf4v_Config *nsf4Config)
 This function should be used to initialize variable of type Nsf4v_Config. More...
 

Macros

#define NSF4_LSCC_MAX_SET   (2U)
 Maximum number of PWL Sets for LSCC. More...
 
#define NSF4_LSCC_MAX_SEGMENT   (16U)
 Maximum number of segments in PWL curve for LSCC. More...
 
#define NSF4_MAX_SCALE   (3U)
 Maximum TN Scale. More...
 
#define NSF4_TN_MAX_SEGMENT   (12U)
 Maximum number of segments in PWL curve for TN. More...
 

Nsf4v IOCTL macros

Control commands for NSF4v module in VISS Mainly used to set NSF4 configuration

#define IOCTL_NSF4_GET_CONFIG   (VHWA_IOCTL_NSF4_IOCTL_BASE)
 Ioctl for getting NSF4 parameters. Refer to structure Nsf4v_Config. More...
 
#define IOCTL_NSF4_SET_CONFIG   (IOCTL_NSF4_GET_CONFIG + 1U)
 Ioctl for setting NSF4 parameters. Refer to structure Nsf4v_Config. More...
 

Macro Definition Documentation

◆ IOCTL_NSF4_GET_CONFIG

#define IOCTL_NSF4_GET_CONFIG   (VHWA_IOCTL_NSF4_IOCTL_BASE)

Ioctl for getting NSF4 parameters. Refer to structure Nsf4v_Config.

Returns
FVID2_SOK on success, else error code.

◆ IOCTL_NSF4_SET_CONFIG

#define IOCTL_NSF4_SET_CONFIG   (IOCTL_NSF4_GET_CONFIG + 1U)

Ioctl for setting NSF4 parameters. Refer to structure Nsf4v_Config.

Returns
FVID2_SOK on success, else error code.

◆ NSF4_LSCC_MAX_SET

#define NSF4_LSCC_MAX_SET   (2U)

Maximum number of PWL Sets for LSCC.

◆ NSF4_LSCC_MAX_SEGMENT

#define NSF4_LSCC_MAX_SEGMENT   (16U)

Maximum number of segments in PWL curve for LSCC.

◆ NSF4_MAX_SCALE

#define NSF4_MAX_SCALE   (3U)

Maximum TN Scale.

◆ NSF4_TN_MAX_SEGMENT

#define NSF4_TN_MAX_SEGMENT   (12U)

Maximum number of segments in PWL curve for TN.

Function Documentation

◆ Nsf4vConfig_init()

static void Nsf4vConfig_init ( Nsf4v_Config nsf4Config)
inlinestatic

This function should be used to initialize variable of type Nsf4v_Config.

Parameters
nsf4ConfigA pointer of type Nsf4v_Config
Returns
None