Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mcp355x.c File Reference

Driver for MCP3550/1/3. More...

+ Include dependency graph for mcp355x.c:

Go to the source code of this file.

Functions

void mcp355x_init (void)
 
void mcp355x_read (void)
 
void mcp355x_event (void)
 

Variables

bool_t mcp355x_data_available
 
int32_t mcp355x_data
 
uint8_t mcp355x_val [4]
 
struct spi_transaction mcp355x_spi_trans
 

Detailed Description

Driver for MCP3550/1/3.

Definition in file mcp355x.c.

Function Documentation

void mcp355x_read ( void  )

Definition at line 54 of file mcp355x.c.

References mcp355x_spi_trans, spi1, and spi_submit().

Referenced by baro_periodic().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

int32_t mcp355x_data

Definition at line 31 of file mcp355x.c.

Referenced by mcp355x_event(), and mcp355x_init().

bool_t mcp355x_data_available

Definition at line 30 of file mcp355x.c.

Referenced by mcp355x_event(), and mcp355x_init().

struct spi_transaction mcp355x_spi_trans

Definition at line 34 of file mcp355x.c.

Referenced by mcp355x_event(), mcp355x_init(), and mcp355x_read().

uint8_t mcp355x_val[4]

Definition at line 32 of file mcp355x.c.

Referenced by mcp355x_init().