Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mcp355x.c File Reference
+ 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_spi_buf [4]
 

Function Documentation

void mcp355x_event ( void  )
void mcp355x_init ( void  )

Definition at line 33 of file mcp355x.c.

References FALSE, mcp355x_data, mcp355x_data_available, SpiClrCPHA, and SpiClrCPOL.

Referenced by baro_init().

+ Here is the caller graph for this function:

void mcp355x_read ( void  )

Definition at line 41 of file mcp355x.c.

References mcp355x_spi_buf, spi_buffer_input, and spi_buffer_length.

Referenced by baro_periodic().

+ Here is the caller graph for this function:

Variable Documentation

int32_t mcp355x_data

Definition at line 30 of file mcp355x.c.

Referenced by mcp355x_event(), and mcp355x_init().

bool_t mcp355x_data_available

Definition at line 29 of file mcp355x.c.

Referenced by mcp355x_event(), and mcp355x_init().

uint8_t mcp355x_spi_buf[4]

Definition at line 31 of file mcp355x.c.

Referenced by mcp355x_event(), and mcp355x_read().