Firmware
Macros | Functions | Variables
px4io.c File Reference

Top-level logic for the PX4IO module. More...

#include <px4_config.h>
#include "platform/cxxinitialize.h"
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <poll.h>
#include <signal.h>
#include <crc32.h>
#include <syslog.h>
#include <drivers/drv_pwm_output.h>
#include <drivers/drv_hrt.h>
#include <perf/perf_counter.h>
#include <pwm_limit/pwm_limit.h>
#include <stm32_uart.h>
#include "px4io.h"

Macros

#define DEBUG
 
#define NUM_MSG   1
 
#define APP_SIZE_MAX   0xf000
 
#define APP_LOAD_ADDRESS   0x08001000
 

Functions

__EXPORT int user_start (int argc, char *argv[])
 
void isr_debug (uint8_t level, const char *fmt,...)
 send a debug message to the console
 
void schedule_reboot (uint32_t time_delta_usec)
 schedule a reboot in time_delta_usec microseconds More...
 

Variables

struct sys_state_s system_state
 
pwm_limit_t pwm_limit
 
float dt
 

Detailed Description

Top-level logic for the PX4IO module.

Author
Lorenz Meier loren.nosp@m.z@px.nosp@m.4.io

Function Documentation

§ schedule_reboot()

void schedule_reboot ( uint32_t  time_delta_usec)

schedule a reboot in time_delta_usec microseconds

schedule a reboot