Commit 94c23c8b authored by Peter Zumbruch's avatar Peter Zumbruch
Browse files

name refactoring

added canTimerOverrun variable
added twi_error vars

git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@389 50339f28-a4cd-11e1-ab1f-8360dde1fe65
parent 062b9025
......@@ -26,7 +26,7 @@ extern int8_t owi_init; /* return variable of TWIM_Init function*/
extern int8_t timer0_init; /* return variable of Timer0_Init function*/
extern int8_t timer0A_init;/* return variable of Timer0A_Init function*/
extern uint8_t can_errorCode; /* error code for CAN-communication */
extern uint8_t canErrorCode; /* error code for CAN-communication */
extern uint8_t twi_errorCode; /* error code for I2C/TWI-communication */
extern uint8_t general_errorCode; /*general error code */
extern uint8_t mailbox_errorCode; /* error code for Message Object Block */
......@@ -34,7 +34,9 @@ extern uint8_t uart_errorCode; /* error code for UART-communication */
extern volatile unsigned char BufferFull;/*variable for UART Interrupt*/
extern volatile unsigned char canReady; /* variable for CAN ISR */
extern volatile unsigned char canTimerOverrun; /*variable for can timer overrun interrupt*/
extern volatile unsigned char canCurrentGeneralStatus;/*variable for can interrupt*/
extern volatile unsigned char canCurrentGeneralInterruptRegister; /*variable for can interrupt*/
extern volatile unsigned char canCurrentMObStatus;/*variable for can interrupt*/
extern volatile unsigned char canCurrentTransmitErrorCounter;/*variable for can error handling*/
extern volatile unsigned char canCurrentReceiveErrorCounter;/*variable for can error handling*/
......@@ -63,6 +65,9 @@ extern const char *serial_error[] PROGMEM;
extern const uint8_t can_error_number[];
extern const char *can_error[] PROGMEM;
extern const uint8_t twi_error_number[];
extern const char *twi_error[] PROGMEM;
extern const uint8_t mob_error_number[] ;
extern const char *mob_error[] PROGMEM;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment