Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register : AUTOWB_DROP_CNTREG

Description

Maximum counter value for AUTOWB correction interrupt

Register Layout

Bits Access Reset Description
[31:0] RW 0x1 ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT

Field : CNT

Compare value for the internal autoWB correction count.

This register sets the value to compare with the autoWB internal counter. Software should write to this register before enabling the interrupt on compare.

0x1: If the autoWB_drop_cntreg bits are not modified before enabling the hmi_intr, autoWB internal counter=0 and autoWB_dop_cnt =1, serr compare interrupt will not occur. Default after reset.

Nonzero: if autoWB internal counter == autoWB_drop_cnt == nonzero will create a serr compare interrupt.

When the compare matches, autoWB_drop_flg will be set.

Field Access Macros:

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_LSB   0
 
#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_MSB   31
 
#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_WIDTH   32
 
#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_SET_MSK   0xffffffff
 
#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_CLR_MSK   0x00000000
 
#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_RESET   0x1
 
#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_GET(value)   (((value) & 0xffffffff) >> 0)
 
#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_SET(value)   (((value) << 0) & 0xffffffff)
 

Data Structures

struct  ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_s
 

Macros

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_RESET   0x00000001
 
#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_OFST   0x140
 

Typedefs

typedef struct
ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_s 
ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_t
 

Data Structure Documentation

struct ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_s

WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.

The struct declaration for register ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG.

Data Fields
uint32_t CNT: 32 ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT

Macro Definitions

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_LSB   0

The Least Significant Bit (LSB) position of the ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT register field.

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_MSB   31

The Most Significant Bit (MSB) position of the ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT register field.

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_WIDTH   32

The width in bits of the ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT register field.

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_SET_MSK   0xffffffff

The mask used to set the ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT register field value.

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_CLR_MSK   0x00000000

The mask used to clear the ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT register field value.

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_RESET   0x1

The reset value of the ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT register field.

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_GET (   value)    (((value) & 0xffffffff) >> 0)

Extracts the ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT field value from a register.

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT_SET (   value)    (((value) << 0) & 0xffffffff)

Produces a ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_CNT register field value suitable for setting the register.

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_RESET   0x00000001

The reset value of the ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG register.

#define ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG_OFST   0x140

The byte offset of the ALT_ECC_HMC_OCP_AUTOWB_DROP_CNTREG register from the beginning of the component.

Typedef Documentation