Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
max7456_regs.h File Reference

Maxim MAX7456 single-channel monochrome on-screen display driver. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OSD_VM0_REG   0x00
 
#define OSD_VM1_REG   0x01
 
#define OSD_DMM_REG   0x04
 
#define OSD_DMAH_REG   0x05
 
#define OSD_DMAL_REG   0x06
 
#define OSD_DMDI_REG   0x07
 
#define OSD_OSDBL_REG   0x6C
 
#define OSD_OSDBL_REG_R   0xEC
 
#define OSD_STAT_REG   0xA0
 
#define OSD_VIDEO_MODE_PAL   (1<<6)
 
#define OSD_SYNC_INTERNAL   ((1<<5)|(1<<4))
 
#define OSD_SYNC_EXTERNAL   ((1<<5)
 
#define OSD_IMAGE_ENABLE   (1<<3)
 
#define OSD_REFRESH_ON_NEXT_VSYNC   (1<<2)
 
#define OSD_RESET   (1<<1)
 
#define OSD_VOUT_DISABLE   (1<<0)
 
#define OSD_8BIT_MODE   (1<<6)
 
#define OSD_BLINK_CHAR   (1<<4)
 
#define OSD_INVERT_PIXELS   (1<<3)
 
#define OSD_CLEAR_DISPLAY_MEMORY   (1<<2)
 
#define OSD_AUTO_INCREMENT_MODE   (1<<0)
 
#define OSD_UNUSED_FLAG   (1<<7)
 
#define OSD_RESET_BUSY_FLAG   (1<<6)
 
#define OSD_NVRAM_BUSY_FLAG   (1<<5)
 
#define OSD_VSYNC_ABSENT_FLAG   (1<<4)
 
#define OSD_HSYNC_ABSENT_FLAG   (1<<3)
 
#define OSD_LOS_ABSENT_FLAG   (1<<2)
 
#define OSD_NTSC_PRESENT_FLAG   (1<<1)
 
#define OSD_PAL_PRESENT_FLAG   (1<<0)
 
#define VIDEO_MODE_0_WRITE   0x00
 
#define VIDEO_MODE_0_READ   0x80
 
#define VIDEO_MODE_0_40_PAL   0x40
 
#define VIDEO_MODE_0_20_NoAutoSync   0x20
 
#define VIDEO_MODE_0_10_SyncInt   0x10
 
#define VIDEO_MODE_0_08_EnOSD   0x08
 
#define VIDEO_MODE_0_04_UpdateVsync   0x04
 
#define VIDEO_MODE_0_02_Reset   0x02
 
#define VIDEO_MODE_0_01_EnVideo   0x01
 
#define NTSC   0x00
 
#define PAL   0x40
 
#define AUTO_SYNC   0x00
 
#define EXT_SYNC   0x20
 
#define INT_SYNC   0x30
 
#define OSD_EN   0x08
 
#define VERT_SYNC_IMM   0x00
 
#define VERT_SYNC_VSYNC   0x04
 
#define SW_RESET   0x02
 
#define BUF_EN   0x00
 
#define BUF_DI   0x01
 
#define VIDEO_MODE_1_WRITE   0x01
 
#define VIDEO_MODE_1_READ   0x81
 
#define DM_MODE_WRITE   0x04
 
#define DM_MODE_READ   0x84
 
#define DM_ADDRH_WRITE   0x05
 
#define DM_ADDRH_READ   0x85
 
#define DM_ADDRL_WRITE   0x06
 
#define DM_ADDRL_READ   0x87
 
#define DM_CODE_IN_WRITE   0x07
 
#define DM_CODE_IN_READ   0x87
 
#define DM_CODE_OUT_READ   0xB0
 
#define FM_MODE_WRITE   0x08
 
#define FM_MODE_READ   0x88
 
#define FM_ADDRH_WRITE   0x09
 
#define FM_ADDRH_READ   0x89
 
#define FM_ADDRL_WRITE   0x0A
 
#define FM_ADDRL_READ   0x8A
 
#define FM_DATA_IN_WRITE   0x0B
 
#define FM_DATA_IN_READ   0x8B
 
#define FM_DATA_OUT_READ   0xC0
 
#define OSDBL_WR   0x6C
 
#define OSDBL_RD   0xEC
 
#define OSDBL_10_DisableAutoBlackLevel   0x10
 

Detailed Description

Maxim MAX7456 single-channel monochrome on-screen display driver.

Registers definition

Definition in file max7456_regs.h.

Macro Definition Documentation

◆ AUTO_SYNC

#define AUTO_SYNC   0x00

Definition at line 81 of file max7456_regs.h.

◆ BUF_DI

#define BUF_DI   0x01

Definition at line 89 of file max7456_regs.h.

◆ BUF_EN

#define BUF_EN   0x00

Definition at line 88 of file max7456_regs.h.

◆ DM_ADDRH_READ

#define DM_ADDRH_READ   0x85

Definition at line 101 of file max7456_regs.h.

◆ DM_ADDRH_WRITE

#define DM_ADDRH_WRITE   0x05

Definition at line 100 of file max7456_regs.h.

◆ DM_ADDRL_READ

#define DM_ADDRL_READ   0x87

Definition at line 105 of file max7456_regs.h.

◆ DM_ADDRL_WRITE

#define DM_ADDRL_WRITE   0x06

Definition at line 104 of file max7456_regs.h.

◆ DM_CODE_IN_READ

#define DM_CODE_IN_READ   0x87

Definition at line 109 of file max7456_regs.h.

◆ DM_CODE_IN_WRITE

#define DM_CODE_IN_WRITE   0x07

Definition at line 108 of file max7456_regs.h.

◆ DM_CODE_OUT_READ

#define DM_CODE_OUT_READ   0xB0

Definition at line 112 of file max7456_regs.h.

◆ DM_MODE_READ

#define DM_MODE_READ   0x84

Definition at line 97 of file max7456_regs.h.

◆ DM_MODE_WRITE

#define DM_MODE_WRITE   0x04

Definition at line 96 of file max7456_regs.h.

◆ EXT_SYNC

#define EXT_SYNC   0x20

Definition at line 82 of file max7456_regs.h.

◆ FM_ADDRH_READ

#define FM_ADDRH_READ   0x89

Definition at line 120 of file max7456_regs.h.

◆ FM_ADDRH_WRITE

#define FM_ADDRH_WRITE   0x09

Definition at line 119 of file max7456_regs.h.

◆ FM_ADDRL_READ

#define FM_ADDRL_READ   0x8A

Definition at line 124 of file max7456_regs.h.

◆ FM_ADDRL_WRITE

#define FM_ADDRL_WRITE   0x0A

Definition at line 123 of file max7456_regs.h.

◆ FM_DATA_IN_READ

#define FM_DATA_IN_READ   0x8B

Definition at line 128 of file max7456_regs.h.

◆ FM_DATA_IN_WRITE

#define FM_DATA_IN_WRITE   0x0B

Definition at line 127 of file max7456_regs.h.

◆ FM_DATA_OUT_READ

#define FM_DATA_OUT_READ   0xC0

Definition at line 131 of file max7456_regs.h.

◆ FM_MODE_READ

#define FM_MODE_READ   0x88

Definition at line 116 of file max7456_regs.h.

◆ FM_MODE_WRITE

#define FM_MODE_WRITE   0x08

Definition at line 115 of file max7456_regs.h.

◆ INT_SYNC

#define INT_SYNC   0x30

Definition at line 83 of file max7456_regs.h.

◆ NTSC

#define NTSC   0x00

Definition at line 79 of file max7456_regs.h.

◆ OSD_8BIT_MODE

#define OSD_8BIT_MODE   (1<<6)

Definition at line 52 of file max7456_regs.h.

◆ OSD_AUTO_INCREMENT_MODE

#define OSD_AUTO_INCREMENT_MODE   (1<<0)

Definition at line 56 of file max7456_regs.h.

◆ OSD_BLINK_CHAR

#define OSD_BLINK_CHAR   (1<<4)

Definition at line 53 of file max7456_regs.h.

◆ OSD_CLEAR_DISPLAY_MEMORY

#define OSD_CLEAR_DISPLAY_MEMORY   (1<<2)

Definition at line 55 of file max7456_regs.h.

◆ OSD_DMAH_REG

#define OSD_DMAH_REG   0x05

Definition at line 37 of file max7456_regs.h.

◆ OSD_DMAL_REG

#define OSD_DMAL_REG   0x06

Definition at line 38 of file max7456_regs.h.

◆ OSD_DMDI_REG

#define OSD_DMDI_REG   0x07

Definition at line 39 of file max7456_regs.h.

◆ OSD_DMM_REG

#define OSD_DMM_REG   0x04

Definition at line 36 of file max7456_regs.h.

◆ OSD_EN

#define OSD_EN   0x08

Definition at line 84 of file max7456_regs.h.

◆ OSD_HSYNC_ABSENT_FLAG

#define OSD_HSYNC_ABSENT_FLAG   (1<<3)

Definition at line 63 of file max7456_regs.h.

◆ OSD_IMAGE_ENABLE

#define OSD_IMAGE_ENABLE   (1<<3)

Definition at line 48 of file max7456_regs.h.

◆ OSD_INVERT_PIXELS

#define OSD_INVERT_PIXELS   (1<<3)

Definition at line 54 of file max7456_regs.h.

◆ OSD_LOS_ABSENT_FLAG

#define OSD_LOS_ABSENT_FLAG   (1<<2)

Definition at line 64 of file max7456_regs.h.

◆ OSD_NTSC_PRESENT_FLAG

#define OSD_NTSC_PRESENT_FLAG   (1<<1)

Definition at line 65 of file max7456_regs.h.

◆ OSD_NVRAM_BUSY_FLAG

#define OSD_NVRAM_BUSY_FLAG   (1<<5)

Definition at line 61 of file max7456_regs.h.

◆ OSD_OSDBL_REG

#define OSD_OSDBL_REG   0x6C

Definition at line 40 of file max7456_regs.h.

◆ OSD_OSDBL_REG_R

#define OSD_OSDBL_REG_R   0xEC

Definition at line 41 of file max7456_regs.h.

◆ OSD_PAL_PRESENT_FLAG

#define OSD_PAL_PRESENT_FLAG   (1<<0)

Definition at line 66 of file max7456_regs.h.

◆ OSD_REFRESH_ON_NEXT_VSYNC

#define OSD_REFRESH_ON_NEXT_VSYNC   (1<<2)

Definition at line 49 of file max7456_regs.h.

◆ OSD_RESET

#define OSD_RESET   (1<<1)

Definition at line 50 of file max7456_regs.h.

◆ OSD_RESET_BUSY_FLAG

#define OSD_RESET_BUSY_FLAG   (1<<6)

Definition at line 60 of file max7456_regs.h.

◆ OSD_STAT_REG

#define OSD_STAT_REG   0xA0

Definition at line 42 of file max7456_regs.h.

◆ OSD_SYNC_EXTERNAL

#define OSD_SYNC_EXTERNAL   ((1<<5)

Definition at line 47 of file max7456_regs.h.

◆ OSD_SYNC_INTERNAL

#define OSD_SYNC_INTERNAL   ((1<<5)|(1<<4))

Definition at line 46 of file max7456_regs.h.

◆ OSD_UNUSED_FLAG

#define OSD_UNUSED_FLAG   (1<<7)

Definition at line 59 of file max7456_regs.h.

◆ OSD_VIDEO_MODE_PAL

#define OSD_VIDEO_MODE_PAL   (1<<6)

Definition at line 45 of file max7456_regs.h.

◆ OSD_VM0_REG

#define OSD_VM0_REG   0x00

Definition at line 34 of file max7456_regs.h.

◆ OSD_VM1_REG

#define OSD_VM1_REG   0x01

Definition at line 35 of file max7456_regs.h.

◆ OSD_VOUT_DISABLE

#define OSD_VOUT_DISABLE   (1<<0)

Definition at line 51 of file max7456_regs.h.

◆ OSD_VSYNC_ABSENT_FLAG

#define OSD_VSYNC_ABSENT_FLAG   (1<<4)

Definition at line 62 of file max7456_regs.h.

◆ OSDBL_10_DisableAutoBlackLevel

#define OSDBL_10_DisableAutoBlackLevel   0x10

Definition at line 136 of file max7456_regs.h.

◆ OSDBL_RD

#define OSDBL_RD   0xEC

Definition at line 135 of file max7456_regs.h.

◆ OSDBL_WR

#define OSDBL_WR   0x6C

Definition at line 134 of file max7456_regs.h.

◆ PAL

#define PAL   0x40

Definition at line 80 of file max7456_regs.h.

◆ SW_RESET

#define SW_RESET   0x02

Definition at line 87 of file max7456_regs.h.

◆ VERT_SYNC_IMM

#define VERT_SYNC_IMM   0x00

Definition at line 85 of file max7456_regs.h.

◆ VERT_SYNC_VSYNC

#define VERT_SYNC_VSYNC   0x04

Definition at line 86 of file max7456_regs.h.

◆ VIDEO_MODE_0_01_EnVideo

#define VIDEO_MODE_0_01_EnVideo   0x01

Definition at line 77 of file max7456_regs.h.

◆ VIDEO_MODE_0_02_Reset

#define VIDEO_MODE_0_02_Reset   0x02

Definition at line 76 of file max7456_regs.h.

◆ VIDEO_MODE_0_04_UpdateVsync

#define VIDEO_MODE_0_04_UpdateVsync   0x04

Definition at line 75 of file max7456_regs.h.

◆ VIDEO_MODE_0_08_EnOSD

#define VIDEO_MODE_0_08_EnOSD   0x08

Definition at line 74 of file max7456_regs.h.

◆ VIDEO_MODE_0_10_SyncInt

#define VIDEO_MODE_0_10_SyncInt   0x10

Definition at line 73 of file max7456_regs.h.

◆ VIDEO_MODE_0_20_NoAutoSync

#define VIDEO_MODE_0_20_NoAutoSync   0x20

Definition at line 72 of file max7456_regs.h.

◆ VIDEO_MODE_0_40_PAL

#define VIDEO_MODE_0_40_PAL   0x40

Definition at line 71 of file max7456_regs.h.

◆ VIDEO_MODE_0_READ

#define VIDEO_MODE_0_READ   0x80

Definition at line 70 of file max7456_regs.h.

◆ VIDEO_MODE_0_WRITE

#define VIDEO_MODE_0_WRITE   0x00

Definition at line 69 of file max7456_regs.h.

◆ VIDEO_MODE_1_READ

#define VIDEO_MODE_1_READ   0x81

Definition at line 93 of file max7456_regs.h.

◆ VIDEO_MODE_1_WRITE

#define VIDEO_MODE_1_WRITE   0x01

Definition at line 92 of file max7456_regs.h.