#include <can/can.h>
#include <dma/dma.h>
#include <gpio/gpio.h>
#include <types/types.h>
#include <vm/natives.h>
#include <vm/vm.h>
#include <common/types.h>
#include <skel-user.h>
Go to the source code of this file.
Defines | |
#define | CLEAR_EVENT(event) atomic_and(&events_flags, ~(1 << event)) |
#define | IS_EVENT(event) (events_flags & (1 << event)) |
#define | SET_EVENT(event) atomic_or(&events_flags, 1 << event) |
Functions | |
void | __attribute ((noreturn)) run_aseba_main_loop(void) |
void | init_aseba_and_can (void) |
int | load_settings_from_flash (void) |
void | update_aseba_variables_read (void) |
void | update_aseba_variables_write (void) |
Variables | |
unsigned int | events_flags |
struct private_settings | settings |
AsebaVMState | vmState |
struct _vmVariables | vmVariables |
#define CLEAR_EVENT | ( | event | ) | atomic_and(&events_flags, ~(1 << event)) |
#define IS_EVENT | ( | event | ) | (events_flags & (1 << event)) |
#define SET_EVENT | ( | event | ) | atomic_or(&events_flags, 1 << event) |
void __attribute | ( | (noreturn) | ) |
void init_aseba_and_can | ( | void | ) |
int load_settings_from_flash | ( | void | ) |
void update_aseba_variables_read | ( | void | ) |
Definition at line 42 of file dspic33/main.c.
void update_aseba_variables_write | ( | void | ) |
Definition at line 47 of file dspic33/main.c.
unsigned int events_flags |
struct private_settings settings |
struct _vmVariables vmVariables |