/* 
 Copyright (c) 2008 by Cognex Corporation, Natick, MA USA
 All rights reserved. This material contains unpublished,
 copyrighted work, which includes confidential and proprietary
 information of Cognex.

 This CCF supports the Jai TM-7EX camera in free running,
 2-field mode.  The PLL is used to derive the pixel clock
 and the vertical sync signal.  Note that Cognex CVM3 and 
 CVM14 lack the hardware (PLL) to support this CCF. 
 
 Cable: 300-0127 (CVM1 & 8501/8504 & 8500Le/8504e)
 Cable: 300-0302 (CVM6)
 Cable: 300-0155 (8100M+)
*/

format name = "Jai TM-7EX 640x480 ExtPLLCo CCF";

format width = 640;
format height = 480;
format bits_per_pel = 8;
format video_interface = analog;
format video_encoding = mono;
format peltype = mono;
format taps = 1;

format hd_direction = unused;
format horiz_reference = sync_separator;
format horiz_reference_type = sync;
format hlock_position = 7;

format vd_direction = unused;
format vertical_reference = sync_separator;
format vertical_reference_type = sync;
format vlock_position = 1.0625;

format ctrl1_direction =  unused;
format ctrl2_direction = unused;

format pclk_direction = unused;
format pclk_source = pll;
format pclk_frequency = 12.348;

format htotal = 784;
format vtotal = 525;
format active_start = 123;

// horizontal events
format hdrive = 1 768;
format hdrive = 0 63;
format hsync = 1 0;
format hsync = 0 59;
format heq = 1 0;
format heq = 0 29;
format heq = 1 392;
format heq = 0 421;
format hvsync = 1 0;
format hvsync = 0 337;
format hvsync = 1 392;
format hvsync = 0 729;
format hsample = 1 80;
format hsample = 0 88;

// vertical events
format vdrive = 1 522;
format vdrive = 0 6;
format vdrive = 1 259.5;
format vdrive = 0 268.5;
format vsync = 1 525;
format vsync = 0 3;
format vsync = 1 262.5;
format vsync = 0 265.5;
format vaoi = 1 19;
format vaoi = 0 259;
format vaoi = 1 282;
format vaoi = 0 522;

format cti_end_field0 = 7;
format cti_end_field1 = 269;
format cti_width_min = 1;

format number_of_fields = 2;
format aoi_per_field = 1;
format x_subsampling = 1;
format interlace = 1;
format rapid_reset = 0;
format shutter_mode = none;
format strobe_mode = trigger;

format settling_time = 0.5;

vs version = 5;
vs revision = 1;

ccf version = 1.0;
ccf build_number = 7;

ccf_checksum 0x033DB4EA
