This header file contains identifiers and register-level driver functions (or macros), range macros, structure typedefs that can be used to access the Xilinx Color Correction Matrix (CCM) core instance.<p>
The Color Correction Matrix core offers a 3x3 matrix multiplication for a variety of color correction applications. CCM core provides following features:<ul>
<li>Fully programmable coefficient matrix.</li><li>Offset compensation.</li><li>Clipping and</li><li>Clamping of the output.</li></ul>
<p>
<b>Initialization & Configuration</b><p>
The device driver enables higher layer software (e.g., an application) to communicate to the CCM core.<p>
<aclass="el"href="xccm_8c.html#143aa8c29bd2eaf103f17d6b76dbdc17">XCcm_CfgInitialize()</a> API is used to initialize the CCM core. The user needs to first call the <aclass="el"href="xccm_8h.html#cf6a99204033596f4dd3ffa4b61b2b6a">XCcm_LookupConfig()</a> API which returns the Configuration structure pointer which is passed as a parameter to the <aclass="el"href="xccm_8c.html#143aa8c29bd2eaf103f17d6b76dbdc17">XCcm_CfgInitialize()</a> API.<p>
<b> Interrupts </b><p>
The driver provides an interrupt handler XCcm_IntrHandler for handling the interrupt from the CCM core. The users of this driver have to register this handler with the interrupt system and provide the callback functions by using XCcm_SetCallBack API.<p>
<b> Virtual Memory </b><p>
This driver supports Virtual Memory. The RTOS is responsible for calculating the correct device base address in Virtual Memory space.<p>
<b> Threads </b><p>
This driver is not thread safe. Any needs for threads or thread mutual exclusion must be satisfied by the layer above this driver.<p>
<b> Asserts </b><p>
Asserts are used within all Xilinx drivers to enforce constraints on argument values. Asserts can be turned off on a system-wide basis by defining, at compile time, the NDEBUG identifier. By default, asserts are turned on and it is recommended that users leave asserts on during development.<p>
<b> Building the driver </b><p>
The <aclass="el"href="struct_x_ccm.html">XCcm</a> driver is composed of several source files. This allows the user to build and link only those parts of the driver that are necessary.<p>