/opt/ros/diamondback/stacks/ethzasl_aseba/asebaros/aseba/svn/targets/can-translator/main.c File Reference
#include "hardware.h"
#include <gpio/gpio.h>
#include <transport/can/can-net.h>
#include <common/consts.h>
#include <can/can.h>
#include <dma/dma.h>
#include <uart/uart-software-fc.h>
#include <clock/clock.h>
#include <error/error.h>
#include <types/types.h>
#include <timer/timer.h>
#include <ei/ei.h>
#include <adc/adc.h>
Go to the source code of this file.
Define Documentation
#define OUTPUT_ERROR |
( |
err |
|
) |
do{ for(;;) output_error(err,LED0,0,1); }while(0) |
#define RECV_QUEUE_SIZE 1100 |
#define SEND_QUEUE_SIZE 260 |
#define TIMER_UART TIMER_1 |
Function Documentation
static __attribute |
( |
(far) |
|
) |
[static] |
void __attribute__ |
( |
(noreturn) |
|
) |
|
_FICD |
( |
ICS_PGD1 & |
JTAGEN_OFF |
) |
|
_FOSC |
( |
POSCMD_NONE & |
OSCIOFNC_ON |
) |
|
_FOSCSEL |
( |
FNOSC_FRCPLL |
|
) |
|
static void can_rx_cb |
( |
const can_frame * |
frame |
) |
[static] |
static void received_packet_dropped |
( |
void |
|
) |
[static] |
static void sent_packet_dropped |
( |
void |
|
) |
[static] |
static bool uart_rx_cb |
( |
int __attribute((unused)) |
uart_id, |
|
|
unsigned char |
data, |
|
|
void *__attribute((unused)) |
user_data | |
|
) |
| | [static] |
static bool uart_tx_cb |
( |
int __attribute((unused)) |
uart_id, |
|
|
unsigned char * |
data, |
|
|
void *__attribute((unused)) |
user_data | |
|
) |
| | [static] |