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
test_spi_slave.c File Reference
#include <stm32/flash.h>
#include <stm32/misc.h>
#include <stm32/spi.h>
#include <BOARD_CONFIG>
#include "mcu.h"
#include "mcu_periph/sys_time.h"
#include "subsystems/datalink/downlink.h"
#include "led.h"
+ Include dependency graph for test_spi_slave.c:

Go to the source code of this file.

Functions

static void main_init (void)
 
static void main_periodic_task (void)
 
static void main_event_task (void)
 
static void main_spi_slave_init (void)
 
int main (void)
 
void spi1_irq_handler (void)
 

Function Documentation

int main ( void  )

Definition at line 39 of file test_spi_slave.c.

References main_event_task(), main_init(), main_periodic_task(), and sys_time_check_and_ack_timer().

+ Here is the call graph for this function:

static void main_event_task ( void  )
inlinestatic

Definition at line 71 of file test_spi_slave.c.

Referenced by main().

+ Here is the caller graph for this function:

static void main_init ( void  )
inlinestatic

Definition at line 52 of file test_spi_slave.c.

References main_spi_slave_init(), mcu_init(), PERIODIC_FREQUENCY, and sys_time_register_timer().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void main_periodic_task ( void  )
inlinestatic

Definition at line 58 of file test_spi_slave.c.

References DefaultChannel, DefaultDevice, FALSE, foo, LED_PERIODIC, and sys_time::nb_sec.

Referenced by main().

+ Here is the caller graph for this function:

static void main_spi_slave_init ( void  )
inlinestatic

Definition at line 76 of file test_spi_slave.c.

References SPI1.

Referenced by main_init().

+ Here is the caller graph for this function:

void spi1_irq_handler ( void  )

Definition at line 125 of file test_spi_slave.c.

References DefaultChannel, DefaultDevice, foo, LED_TOGGLE, and SPI1.