1. 22 Aug, 2013 1 commit
    • Peter Zumbruch's avatar
      api.c: check for CR in addition to LF allowing MS windows terminals · 4ea40009
      Peter Zumbruch authored
      	- added check for CR in addition to LF 
      		to allow for MS windows terminals
      	- added debug function to view received UART input 
      		and possible ctrl characters
       	- apiFindCommandKeywordIndex:
      		- determines maximal keyword length by in addition 
      			to MAX_LENGTH_PARAMETER by looking to the 
        			first occurrence of a ctrl characters
        		- correct printout in debug statements 
      4ea40009
  2. 24 Jul, 2013 2 commits
  3. 23 May, 2013 4 commits
  4. 22 May, 2013 4 commits
    • Peter Zumbruch's avatar
      introducing SPI · 5fe80bbe
      Peter Zumbruch authored
      with dummy structure
      
      
      git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@412 50339f28-a4cd-11e1-ab1f-8360dde1fe65
      5fe80bbe
    • Peter Zumbruch's avatar
      globals · ff9b96dc
      Peter Zumbruch authored
      	- changed default of globalDebugSystemMask
      	- added 
      		- canBusStoredState
      		- canBusStateResetInterval_seconds
      	- adopted printDebug_p pointer
      - main
      	- moved watchdog back again main while loop
      	- removed watchdog incarnations counter from main loop
      	
      
      git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@410 50339f28-a4cd-11e1-ab1f-8360dde1fe65
      ff9b96dc
    • Peter Zumbruch's avatar
      api.c/api.h · 96c3e727
      Peter Zumbruch authored
      - global
        - refactoring/renaming of strings and string arrays
        - adding syntax alternatives string and commandImplementation flags
        - command renaming and reordering
        - added new dummy commands CMD5...CMD8
      - printDebug 
        - added option to skip default line and file printout 
      - NEW: determineAndHandleResetSource
        - split from showResetSource 
        - fills global reset source
        - for WDOG reset: 
          - increases watchdogIncarnationsCounter
          - else resets to 0
      - added enum resetSources
      
      
      git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@409 50339f28-a4cd-11e1-ab1f-8360dde1fe65
      96c3e727
    • Peter Zumbruch's avatar
      can.c / can.h · 35c09780
      Peter Zumbruch authored
      - refactoring
      - renaming of error messages
      - added canBusMode strings
      - canSendMessage
        - implemented check on canBusMode (current status) before sending
          - in case of an error (disabled, bus off, error passive) subsequent transmit are ignored until bus mode has been reset to "undefined"
            - which happens automatically by the can timer mechanism 
      	within canBusStateResetInterval_seconds with a granularity 
      	of the calculated canTimerInterval given by CANTCON
      - new: canSetCanTimer 
        - enables to set the can timer clock cycle either 
          - by setting the prescaler [0,0xff] Tclk = 1/F_CPU x 8 x (prescaler + 1)
          - or by
          - setting the time in seconds
      - canInit
        - added canSetCanTimer
        - setting canBusStoreState 
      - canIsGeneralStatusErrorAndAcknowledge
        moved as inline to can.h 
      - canIsMObErrorAndAcknowledge
        moved as inline to can.h 
      - ISR(CANIT_vect)
        - setting canBusStoreState for BOFFIT interrupt
      - ISR(OVRIT_vect)
        - reset error canBusStoredStates every canBusStateResetInterval_seconds 
          with the granularity canBusStoredState of the calculated canTimerInterval given by CANTCON 
          to canBusStoredState to undefined to allow for recovery
      
        - defined macro CAN_BUS_STATE_RESET_INTERVAL_SECONDS = 60.
        - enum:
            - bus state 
            - timer units 
        - new inline canGetCurrentBusModeStatus 
      
      
      git-svn-id: https://subversion.gsi.de/epics/trunk/hadcon/API-Slave@408 50339f28-a4cd-11e1-ab1f-8360dde1fe65
      35c09780
  5. 21 May, 2013 4 commits
  6. 15 May, 2013 11 commits
  7. 14 May, 2013 6 commits
  8. 10 May, 2013 2 commits
  9. 06 May, 2013 1 commit
  10. 26 Apr, 2013 5 commits