Commit 6acff496 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev
Browse files

added P_CLK_SENSPIX

parent 713d8b38
Loading
Loading
Loading
Loading
+16 −10
Original line number Diff line number Diff line
@@ -312,6 +312,7 @@
<li>                     bit 4 - global reset release (GRR) mode - (only when combined with bit 2)
</ul>*/
#define P_BGFRAME       16 ///< Background measurement mode - will use 16-bit mode and no FPN correction
#define P_CLK_SENSPIX   17 ///< Sensor's internal pixel clock in Hz (if defined as in MT9F002)
//#define P_IMGSZMEM      17 ///< image size in video memory (calculated when channel 0 is programmed) NC393: Not used ???
//#define P_COMP_BAYER    17 ///< -> 119 derivative, readonly - calculated from P_BAYER and COMPMOD_BYRSH to separate sensor and compressor channels
// image page numbers depend on image size/pixel depth, so changing any of them will invalidate all pages
@@ -1552,6 +1553,9 @@ struct p_names_t {

#define      LSEEK_FSDRAM_RESET   0x01 // re-program FSDRAM (to be programmed again when accessed)

// Videomem/raw image commands
#define      LSEEK_VIDEOMEM_START 0x10 // setup and start membridge transfer

#define      JPEG_CTRL_MONOCHROME    0x400
#define      JPEG_CTRL_MONOCHROME_BLOCKED    0x1000
#define      JPEG_CTRL_NOMOSAIC    0x1000
@@ -1647,8 +1651,10 @@ struct p_names_t {
/*  For past compatibility, CCMA_DMA_SIZE...
*/
//#define CCAM_DMA_SIZE  CCAM_WORDS_PER_DMABUF
// Moved to DT
#define CCAM_DMA_SIZE        0x4000000     ///< Each channel buffer size  in BYTES (was in DWORDS in NC353) TODO NC393: use only for initial allocation, move to DT
#define CIRCBUF_START_OFFSET 0x100000      ///< Offset for the first bufer TODO NC393: use only for initial allocation, move to DT
// Moved to DT
//#define CIRCBUF_START_OFFSET 0x100000      ///< Offset for the first bufer TODO NC393: use only for initial allocation, move to DT

/*
*       CCAM_MMAP_OFFSET... -- offsets in bytes in memory mapped region.