|
truck-code
|
#include <sys/mman.h>#include "can_man.h"#include "utils/buffer.h"#include "sja1000.h"#include "delay.h"
Variables | |
| canregs_t * | can_base_addr |
| atomic_t | Can_isopen [MAX_CHANNELS] |
Device level code, based on device-level can4linux-3.5.4 code for the Phillips SJA 1000.
See SJA1000_3.pdf and AN9076.pdf in ../doc and documentation in ./sja1000.h
| canregs_t* can_base_addr |
This must be initialized to the mapped address of the CAN channel.
| atomic_t Can_isopen[MAX_CHANNELS] |
Global per channel variables from sja1000funcs.c For PATH driver, each channel has a separate driver, so MAX_CHANNELS is 1 Most of these are not really used in the PATH CAN driver for QNX6.
1.8.13