PX4 Firmware
PX4 Autopilot Software http://px4.io
atxxxx.h File Reference
#include <drivers/device/spi.h>
#include <drivers/drv_hrt.h>
#include <parameters/param.h>
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/module.h>
#include <px4_platform_common/module_params.h>
#include <px4_platform_common/px4_work_queue/ScheduledWorkItem.hpp>
#include <uORB/Subscription.hpp>
#include <uORB/topics/battery_status.h>
#include <uORB/topics/vehicle_local_position.h>
#include <uORB/topics/vehicle_status.h>
Include dependency graph for atxxxx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OSDatxxxx
 

Macros

#define OSD_SPI_BUS_SPEED   (2000000L) /* 2 MHz */
 
#define DIR_READ(a)   ((a) | (1 << 7))
 
#define DIR_WRITE(a)   ((a) & 0x7f)
 
#define OSD_CHARS_PER_ROW   30
 
#define OSD_NUM_ROWS_PAL   16
 
#define OSD_NUM_ROWS_NTSC   13
 
#define OSD_ZERO_BYTE   0x00
 
#define OSD_PAL_TX_MODE   0x40
 

Functions

__EXPORT int atxxxx_main (int argc, char *argv[])
 

Detailed Description

Author
Daniele Pettenuzzo

Driver for the ATXXXX chip on the omnibus fcu connected via SPI.

Definition in file atxxxx.h.

Macro Definition Documentation

◆ DIR_READ

#define DIR_READ (   a)    ((a) | (1 << 7))

Definition at line 70 of file atxxxx.h.

◆ DIR_WRITE

#define DIR_WRITE (   a)    ((a) & 0x7f)

Definition at line 71 of file atxxxx.h.

◆ OSD_CHARS_PER_ROW

#define OSD_CHARS_PER_ROW   30

◆ OSD_NUM_ROWS_NTSC

#define OSD_NUM_ROWS_NTSC   13

Definition at line 75 of file atxxxx.h.

Referenced by OSDatxxxx::init().

◆ OSD_NUM_ROWS_PAL

#define OSD_NUM_ROWS_PAL   16

Definition at line 74 of file atxxxx.h.

Referenced by OSDatxxxx::init().

◆ OSD_PAL_TX_MODE

#define OSD_PAL_TX_MODE   0x40

Definition at line 77 of file atxxxx.h.

Referenced by OSDatxxxx::init_osd().

◆ OSD_SPI_BUS_SPEED

#define OSD_SPI_BUS_SPEED   (2000000L) /* 2 MHz */

Definition at line 68 of file atxxxx.h.

◆ OSD_ZERO_BYTE

#define OSD_ZERO_BYTE   0x00

Definition at line 76 of file atxxxx.h.

Referenced by OSDatxxxx::init_osd().

Function Documentation

◆ atxxxx_main()

__EXPORT int atxxxx_main ( int  argc,
char *  argv[] 
)

Definition at line 566 of file atxxxx.cpp.

References main().

Here is the call graph for this function: