nico@207: nico@207:
nico@207:#include <stddef.h>
#include <asm-m68hc12/portsaccess.h>
#include <asm-m68hc12/ports_def.h>
#include <asm-m68hc12/ports.h>
#include <interrupt.h>
#include "../include/data.h"
#include <applicfg.h>
#include "../include/hcs12/candriver.h"
#include "../include/hcs12/canOpenDriver.h"
#include "../include/def.h"
#include "../include/can.h"
#include "../include/objdictdef.h"
#include "../include/objacces.h"
#include "../include/sdo.h"
#include "../include/pdo.h"
#include "../include/timer.h"
#include "../include/lifegrd.h"
#include "../include/sync.h"
#include "../include/nmtSlave.h"
#include "objdict.h"
Defines | |
#define | DEBUG_WAR_CONSOLE_ON |
#define | DEBUG_ERR_CONSOLE_ON |
Enumerations | |
enum | E_CanBaudrate { CAN_BAUDRATE_250K, nico@207: CAN_BAUDRATE_500K, nico@207: CAN_BAUDRATE_1M nico@207: } |
Functions | |
void | initCanopencapteur (void) |
void | initSensor (void) |
void | initPortB (void) |
void | initPortH (void) |
void | gene_SYNC_heartbeatError (UNS8 heartbeatID) |
void | gene_SYNC_initialisation () |
void | gene_SYNC_preOperational () |
void | gene_SYNC_operational () |
void | gene_SYNC_stopped () |
UNS8 | main (void) |
Variables | |
const canBusTime | CAN_Baudrates [] |
#define DEBUG_ERR_CONSOLE_ON | nico@207:
nico@207: nico@207:
#define DEBUG_WAR_CONSOLE_ON | nico@207:
nico@207: nico@207:
nico@207:
enum E_CanBaudrate | nico@207:
nico@207:
void gene_SYNC_heartbeatError | nico@207:( | nico@207:UNS8 | nico@207:heartbeatID | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
void gene_SYNC_initialisation | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void gene_SYNC_operational | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void gene_SYNC_preOperational | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void gene_SYNC_stopped | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void initCanopencapteur | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void initPortB | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void initPortH | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
void initSensor | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
UNS8 main | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207:
const canBusTime CAN_Baudrates[] | nico@207:
nico@207: nico@207:
nico@207: