Paparazzi UAS  v5.15_devel-112-g521f3cf
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 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 STATUS_READ   0xA0
 
#define STATUS_40_RESET_BUSY   0x40
 
#define STATUS_20_NVRAM_BUSY   0x20
 
#define STATUS_04_LOSS_OF_SYNC   0x04
 
#define STATUS_02_PAL_DETECTED   0x02
 
#define STATUS_01_NTSC_DETECTED   0x01
 
#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

#define AUTO_SYNC   0x00

Definition at line 71 of file max7456_regs.h.

#define BUF_DI   0x01

Definition at line 79 of file max7456_regs.h.

#define BUF_EN   0x00

Definition at line 78 of file max7456_regs.h.

#define DM_ADDRH_READ   0x85

Definition at line 91 of file max7456_regs.h.

#define DM_ADDRH_WRITE   0x05

Definition at line 90 of file max7456_regs.h.

#define DM_ADDRL_READ   0x87

Definition at line 95 of file max7456_regs.h.

#define DM_ADDRL_WRITE   0x06

Definition at line 94 of file max7456_regs.h.

#define DM_CODE_IN_READ   0x87

Definition at line 99 of file max7456_regs.h.

#define DM_CODE_IN_WRITE   0x07

Definition at line 98 of file max7456_regs.h.

#define DM_CODE_OUT_READ   0xB0

Definition at line 102 of file max7456_regs.h.

#define DM_MODE_READ   0x84

Definition at line 87 of file max7456_regs.h.

#define DM_MODE_WRITE   0x04

Definition at line 86 of file max7456_regs.h.

#define EXT_SYNC   0x20

Definition at line 72 of file max7456_regs.h.

#define FM_ADDRH_READ   0x89

Definition at line 110 of file max7456_regs.h.

#define FM_ADDRH_WRITE   0x09

Definition at line 109 of file max7456_regs.h.

#define FM_ADDRL_READ   0x8A

Definition at line 114 of file max7456_regs.h.

#define FM_ADDRL_WRITE   0x0A

Definition at line 113 of file max7456_regs.h.

#define FM_DATA_IN_READ   0x8B

Definition at line 118 of file max7456_regs.h.

#define FM_DATA_IN_WRITE   0x0B

Definition at line 117 of file max7456_regs.h.

#define FM_DATA_OUT_READ   0xC0

Definition at line 121 of file max7456_regs.h.

#define FM_MODE_READ   0x88

Definition at line 106 of file max7456_regs.h.

#define FM_MODE_WRITE   0x08

Definition at line 105 of file max7456_regs.h.

#define INT_SYNC   0x30

Definition at line 73 of file max7456_regs.h.

#define NTSC   0x00

Definition at line 69 of file max7456_regs.h.

#define OSD_8BIT_MODE   (1<<6)

Definition at line 52 of file max7456_regs.h.

#define OSD_AUTO_INCREMENT_MODE   (1<<0)

Definition at line 56 of file max7456_regs.h.

Referenced by max7456_event().

#define OSD_BLINK_CHAR   (1<<4)

Definition at line 53 of file max7456_regs.h.

#define OSD_CLEAR_DISPLAY_MEMORY   (1<<2)

Definition at line 55 of file max7456_regs.h.

#define OSD_DMAH_REG   0x05

Definition at line 37 of file max7456_regs.h.

Referenced by osd_put_s().

#define OSD_DMAL_REG   0x06

Definition at line 38 of file max7456_regs.h.

Referenced by max7456_event().

#define OSD_DMDI_REG   0x07

Definition at line 39 of file max7456_regs.h.

#define OSD_DMM_REG   0x04

Definition at line 36 of file max7456_regs.h.

Referenced by max7456_event().

#define OSD_EN   0x08

Definition at line 74 of file max7456_regs.h.

#define OSD_IMAGE_ENABLE   (1<<3)

Definition at line 48 of file max7456_regs.h.

Referenced by max7456_init().

#define OSD_INVERT_PIXELS   (1<<3)

Definition at line 54 of file max7456_regs.h.

#define OSD_OSDBL_REG   0x6C

Definition at line 40 of file max7456_regs.h.

Referenced by max7456_event().

#define OSD_OSDBL_REG_R   0xEC

Definition at line 41 of file max7456_regs.h.

Referenced by max7456_periodic().

#define OSD_REFRESH_ON_NEXT_VSYNC   (1<<2)

Definition at line 49 of file max7456_regs.h.

#define OSD_RESET   (1<<1)

Definition at line 50 of file max7456_regs.h.

Referenced by max7456_periodic().

#define OSD_STAT_REG   0xA0

Definition at line 42 of file max7456_regs.h.

#define OSD_SYNC_EXTERNAL   ((1<<5)

Definition at line 47 of file max7456_regs.h.

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

Definition at line 46 of file max7456_regs.h.

#define OSD_VIDEO_MODE_PAL   (1<<6)

Definition at line 45 of file max7456_regs.h.

Referenced by max7456_event().

#define OSD_VM0_REG   0x00

Definition at line 34 of file max7456_regs.h.

Referenced by max7456_event(), and max7456_periodic().

#define OSD_VM1_REG   0x01

Definition at line 35 of file max7456_regs.h.

#define OSD_VOUT_DISABLE   (1<<0)

Definition at line 51 of file max7456_regs.h.

#define OSDBL_10_DisableAutoBlackLevel   0x10

Definition at line 134 of file max7456_regs.h.

#define OSDBL_RD   0xEC

Definition at line 133 of file max7456_regs.h.

#define OSDBL_WR   0x6C

Definition at line 132 of file max7456_regs.h.

#define PAL   0x40

Definition at line 70 of file max7456_regs.h.

#define STATUS_01_NTSC_DETECTED   0x01

Definition at line 129 of file max7456_regs.h.

#define STATUS_02_PAL_DETECTED   0x02

Definition at line 128 of file max7456_regs.h.

#define STATUS_04_LOSS_OF_SYNC   0x04

Definition at line 127 of file max7456_regs.h.

#define STATUS_20_NVRAM_BUSY   0x20

Definition at line 126 of file max7456_regs.h.

#define STATUS_40_RESET_BUSY   0x40

Definition at line 125 of file max7456_regs.h.

#define STATUS_READ   0xA0

Definition at line 124 of file max7456_regs.h.

#define SW_RESET   0x02

Definition at line 77 of file max7456_regs.h.

#define VERT_SYNC_IMM   0x00

Definition at line 75 of file max7456_regs.h.

#define VERT_SYNC_VSYNC   0x04

Definition at line 76 of file max7456_regs.h.

#define VIDEO_MODE_0_01_EnVideo   0x01

Definition at line 67 of file max7456_regs.h.

#define VIDEO_MODE_0_02_Reset   0x02

Definition at line 66 of file max7456_regs.h.

#define VIDEO_MODE_0_04_UpdateVsync   0x04

Definition at line 65 of file max7456_regs.h.

#define VIDEO_MODE_0_08_EnOSD   0x08

Definition at line 64 of file max7456_regs.h.

#define VIDEO_MODE_0_10_SyncInt   0x10

Definition at line 63 of file max7456_regs.h.

#define VIDEO_MODE_0_20_NoAutoSync   0x20

Definition at line 62 of file max7456_regs.h.

#define VIDEO_MODE_0_40_PAL   0x40

Definition at line 61 of file max7456_regs.h.

#define VIDEO_MODE_0_READ   0x80

Definition at line 60 of file max7456_regs.h.

#define VIDEO_MODE_0_WRITE   0x00

Definition at line 59 of file max7456_regs.h.

#define VIDEO_MODE_1_READ   0x81

Definition at line 83 of file max7456_regs.h.

#define VIDEO_MODE_1_WRITE   0x01

Definition at line 82 of file max7456_regs.h.