Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
Maxim MAX7456 single-channel monochrome on-screen display driver. More...
#include "std.h"
Go to the source code of this file.
Functions | |
void | max7456_init (void) |
void | max7456_periodic (void) |
void | max7456_event (void) |
Variables | |
uint8_t | osd_enable |
Maxim MAX7456 single-channel monochrome on-screen display driver.
Definition in file max7456.h.
void max7456_event | ( | void | ) |
Definition at line 205 of file max7456.c.
References spi_transaction::input_buf, spi_transaction::input_length, max7456_osd_status, max7456_trans, osd_attr, OSD_AUTO_INCREMENT_MODE, osd_char_address, OSD_DMAL_REG, OSD_DMM_REG, osd_enable_val, OSD_FINISHED, OSD_IDLE, OSD_INIT1, OSD_INIT2, OSD_INIT3, OSD_INIT4, OSD_OSDBL_REG, OSD_READ_STATUS, OSD_S_STEP1, OSD_S_STEP2, OSD_S_STEP3, osd_stat_reg, osd_stat_reg_valid, osd_string, OSD_VIDEO_MODE_PAL, OSD_VM0_REG, spi_transaction::output_buf, spi_transaction::output_length, spi_submit(), SPITransDone, SPITransSuccess, spi_transaction::status, and TRUE.
void max7456_init | ( | void | ) |
Definition at line 95 of file max7456.c.
References spi_transaction::after_cb, spi_transaction::before_cb, spi_transaction::bitorder, spi_transaction::cdiv, spi_transaction::cpha, spi_transaction::cpol, spi_transaction::dss, spi_transaction::input_buf, spi_transaction::input_length, max7456_osd_status, max7456_trans, osd_enable, osd_enable_val, OSD_IMAGE_ENABLE, osd_spi_rx_buffer, osd_spi_tx_buffer, OSD_UNINIT, spi_transaction::output_buf, spi_transaction::output_length, spi_transaction::select, spi_transaction::slave_idx, SPICphaEdge1, SPICpolIdleLow, SPIDiv64, SPIDss8bit, SPIMSBFirst, and SPISelectUnselect.
void max7456_periodic | ( | void | ) |
Definition at line 119 of file max7456.c.
References BLINK, electrical, FALSE, GetPosAlt, State::h_speed_dir_f, State::h_speed_norm_f, spi_transaction::input_length, INVERT, LOW_BAT_LEVEL, max7456_osd_status, max7456_trans, osd_enable, osd_enable_val, OSD_IDLE, OSD_INIT1, OSD_INIT2, OSD_INIT3, OSD_OSDBL_REG_R, osd_put_s(), OSD_RESET, osd_sprintf, osd_string, OSD_UNINIT, OSD_VM0_REG, spi_transaction::output_buf, spi_transaction::output_length, spi_submit(), SPITransDone, state, stateGetSpeedEnu_f(), spi_transaction::status, step, and Electrical::vsupply.
uint8_t osd_enable |
Definition at line 90 of file max7456.c.
Referenced by max7456_init(), and max7456_periodic().