Pārlūkot izejas kodu

Fixes to CSI registers

Missed a few, pllus one register fields name had wrong register name
teensy4-core
Kurt Eckhardt pirms 4 gadiem
vecāks
revīzija
1cf63652db
1 mainītis faili ar 7 papildinājumiem un 1 dzēšanām
  1. +7
    -1
      teensy4/imxrt.h

+ 7
- 1
teensy4/imxrt.h Parādīt failu

@@ -1730,7 +1730,13 @@ typedef struct {
#define CSI_CSISR_ECC_INT ((uint32_t)(1<<1))
#define CSI_CSISR_DRDY ((uint32_t)(1<<0))

#define CSI_CSICR3_CSI_ENABLE ((uint32_t)(1<<31))
#define CSI_CSIFBUF_PARA_DEINTERLACE_STRIDE(n) ((uint32_t)(((n) & 0xffff)<<16))
#define CSI_CSIFBUF_PARA_FBUF_STRIDE(n) ((uint32_t)(((n) & 0xffff)<<0))

#define CSI_CSIIMAG_PARA_IMAGE_WIDTH(n) ((uint32_t)(((n) & 0xffff)<<16))
#define CSI_CSIIMAG_PARA_IMAGE_HEIGHT(n) ((uint32_t)(((n) & 0xffff)<<0))

#define CSI_CSICR18_CSI_ENABLE ((uint32_t)(1<<31))
#define CSI_CSICR18_MASK_OPTION(n) ((uint32_t)(((n) & 0x3)<<18))
#define CSI_CSICR18_AHB_HPROT(n) ((uint32_t)(((n) & 0xf)<<12))


Notiek ielāde…
Atcelt
Saglabāt