diff -r f45fd4cd3832 -r 34654679f262 doc/doxygen/html/pdo_8h.html --- a/doc/doxygen/html/pdo_8h.html Fri Jul 06 10:53:15 2007 +0200 +++ b/doc/doxygen/html/pdo_8h.html Mon Jul 16 08:56:03 2007 +0200 @@ -18,121 +18,111 @@
  • Globals
  • +include

    pdo.h File Reference

    #include <applicfg.h>
    #include <def.h>
    +#include "can.h"
    #include "data.h"

    Include dependency graph for pdo.h:

    - - - - - - - - - - - - - - + + + + + + + + + + + + + +

    This graph shows which files directly or indirectly include this file:

    - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +

    Go to the source code of this file. - - - + - - - + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +

    Data Structures

    struct  struct_s_process_var
    struct  struct_s_PDO
    struct  struct_s_PDO_status

    Typedefs

    typedef struct_s_process_var s_process_var
    typedef struct_s_PDO s_PDO
    typedef struct_s_PDO_status s_PDO_status

    Functions

    UNS8 sendPDO (CO_Data *d, s_PDO pdo, UNS8 request)
    UNS8 PDOmGR (CO_Data *d, UNS32 cobId)
    UNS8 buildPDO (CO_Data *d, UNS16 index)
    UNS8 sendPDOrequest (CO_Data *d, UNS32 cobId)
    UNS8 proceedPDO (CO_Data *d, Message *m)
    UNS8 sendPDOevent (CO_Data *d, void *variable)
    void CopyBits (UNS8 NbBits, UNS8 *SrcByteIndex, UNS8 SrcBitIndex, UNS8 SrcBigEndian, UNS8 *DestByteIndex, UNS8 DestBitIndex, UNS8 DestBigEndian)
    UNS8 buildPDO (CO_Data *d, UNS8 numPdo, Message *pdo)
    UNS8 sendPDOrequest (CO_Data *d, UNS16 RPDOIndex)
    UNS8 proceedPDO (CO_Data *d, Message *m)
    UNS8 sendPDOevent (CO_Data *d)
    UNS8 _sendPDOevent (CO_Data *d, UNS8 isSyncEvent)
    void PDOInit (CO_Data *d)
    void PDOStop (CO_Data *d)
    void PDOEventTimerAlarm (CO_Data *d, UNS32 pdoNum)
    void PDOInhibitTimerAlarm (CO_Data *d, UNS32 pdoNum)
    void CopyBits (UNS8 NbBits, UNS8 *SrcByteIndex, UNS8 SrcBitIndex, UNS8 SrcBigEndian, UNS8 *DestByteIndex, UNS8 DestBitIndex, UNS8 DestBigEndian)


    Typedef Documentation

    - -
    -
    - - - - -
    typedef struct struct_s_PDO s_PDO
    -
    -
    - -

    -The PDO structure -

    -

    - -

    -
    - - - - -
    typedef struct struct_s_process_var s_process_var
    -
    -
    - -

    - + +

    +
    + + + + +
    typedef struct struct_s_PDO_status s_PDO_status
    +
    +
    + +

    + +

    +Definition at line 31 of file pdo.h.


    Function Documentation

    - -
    -
    - - - + +
    +
    +
    UNS8 buildPDO
    + + @@ -140,8 +130,8 @@ - - + + @@ -153,10 +143,97 @@

    -Prepare the PDO defined at index to be sent by PDOmGR Copy all the data to transmit in process_var *pwCobId : returns the value of the cobid. (subindex 1) Return 0 or 0xFF if error. -

    -

    - +

    Parameters:
    +
    UNS8 _sendPDOevent ( CO_Data d,
    UNS16  index UNS8  isSyncEvent 
    + + +
    d 
    isSyncEvent 
    + +
    Returns:
    + +

    +Definition at line 442 of file pdo.c. +

    +References buildPDO(), struct_CO_Data::canHandle, canSend(), Message::cob_id, struct_s_timer_entry::d, Message::data, DelAlarm(), struct_CO_Data::firstIndex, struct_s_PDO_status::last_message, struct_CO_Data::lastIndex, Message::len, Message_Initializer, MS_TO_TIMEVAL, MSG_ERR, MSG_WAR, struct_CO_Data::objdict, struct_CO_Data::PDO_status, s_quick_index::PDO_TRS, s_quick_index::PDO_TRS_MAP, PDOEventTimerAlarm(), PDOInhibitTimerAlarm(), td_subindex::pObject, td_indextable::pSubindex, SetAlarm(), state11, state3, state5, struct_s_PDO_status::transmit_type_parameter, UNS16, UNS32, UNS64, UNS8, US_TO_TIMEVAL, and SHORT_CAN::w. +

    +Referenced by PDOEventTimerAlarm(), PDOInhibitTimerAlarm(), PDOInit(), proceedSYNC(), and sendPDOevent(). +

    +Here is the call graph for this function:

    + + + + + + + + + + + + + + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    UNS8 buildPDO (CO_Data d,
    UNS8  numPdo,
    Message pdo 
    )
    +
    +
    + +

    +

    Parameters:
    + + + + +
    d 
    TPDO_com TPDO communication parameters OD entry
    TPDO_map TPDO mapping parameters OD entry
    +
    +
    Returns:
    + +

    +Definition at line 48 of file pdo.c. +

    +References Message::cob_id, CopyBits(), struct_s_timer_entry::d, Message::data, struct_CO_Data::firstIndex, getODentry(), td_indextable::index, Message::len, MSG_ERR, MSG_WAR, NOT_A_REQUEST, struct_CO_Data::objdict, OD_SUCCESSFUL, s_quick_index::PDO_TRS, s_quick_index::PDO_TRS_MAP, td_subindex::pObject, td_indextable::pSubindex, Message::rtr, UNS16, UNS32, UNS8, and SHORT_CAN::w. +

    +Referenced by _sendPDOevent(), and proceedPDO(). +

    +Here is the call graph for this function:

    + + + + + + + +
    +

    +

    @@ -225,19 +302,19 @@

    -Definition at line 430 of file pdo.c. +Definition at line 351 of file pdo.c.

    References INTEGER8, and UNS8.

    -Referenced by proceedPDO(), and proceedSYNC(). - -

    - -

    -
    -
    - - +Referenced by buildPDO(), and proceedPDO(). + +

    + +

    +
    +
    UNS8 PDOmGR
    + + @@ -246,7 +323,7 @@ - + @@ -258,7 +335,290 @@

    -PDO Manager

    + +

    +Definition at line 415 of file pdo.c. +

    +References _sendPDOevent(), Message::cob_id, struct_s_timer_entry::d, struct_s_PDO_status::event_timer, struct_s_PDO_status::last_message, struct_CO_Data::PDO_status, and SHORT_CAN::w. +

    +Referenced by _sendPDOevent(), proceedPDO(), and TPDO_Communication_Parameter_Callback(). +

    +Here is the call graph for this function:

    + + + + + + + + + + + + + + + +
    +

    + +

    +
    +
    void PDOEventTimerAlarm ( CO_Data d, UNS32  cobId  pdoNum 
    + + + + + + + + + + + + + + + + + +
    void PDOInhibitTimerAlarm (CO_Data d,
    UNS32  pdoNum 
    )
    +
    +
    + +

    + +

    +Definition at line 424 of file pdo.c. +

    +References _sendPDOevent(), struct_s_timer_entry::d, struct_s_PDO_status::inhibit_timer, struct_CO_Data::PDO_status, and struct_s_PDO_status::transmit_type_parameter. +

    +Referenced by _sendPDOevent(). +

    +Here is the call graph for this function:

    + + + + + + + + + + + + + + + +
    +

    + +

    +
    + + + + + + + + + +
    void PDOInit (CO_Data d  ) 
    +
    +
    + +

    + +

    +Definition at line 601 of file pdo.c. +

    +References _sendPDOevent(), struct_s_timer_entry::d, struct_CO_Data::firstIndex, struct_CO_Data::lastIndex, OD_SUCCESSFUL, s_quick_index::PDO_TRS, scanIndexOD(), TPDO_Communication_Parameter_Callback(), UNS16, and UNS32. +

    +Referenced by switchCommunicationState(). +

    +Here is the call graph for this function:

    + + + + + + + + + + + + + + + + +
    +

    + +

    + +

    + +

    +
    + + + + + + + + + +
    UNS8 sendPDOevent (CO_Data d  ) 
    +
    +
    + +

    +

    Parameters:
    + + +
    d 
    +
    +
    Returns:
    + +

    +Definition at line 408 of file pdo.c. +

    +References _sendPDOevent(), and struct_s_timer_entry::d. +

    +Here is the call graph for this function:

    + + + + + + + + + + + + + + + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    UNS8 sendPDOrequest (CO_Data d,
    UNS16  RPDOIndex 
    )
    +
    +
    + +

    Parameters:
    @@ -268,204 +628,21 @@
    Returns:

    -Definition at line 79 of file pdo.c. -

    -References struct_s_PDO::cobId, struct_s_process_var::count, struct_s_timer_entry::d, struct_s_process_var::data, struct_s_PDO::data, struct_s_PDO::len, MSG_WAR, NOT_A_REQUEST, struct_CO_Data::process_var, sendPDO(), and UNS8. -

    -Referenced by proceedPDO(), and proceedSYNC(). -

    -Here is the call graph for this function:

    - - - - - - - -

    - -

    -
    -
    d 
    - - - - - - - - - - - - - - - - - -
    UNS8 proceedPDO (CO_Data d,
    Message m 
    )
    -
    - -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    UNS8 sendPDO (CO_Data d,
    s_PDO  pdo,
    UNS8  request 
    )
    -
    -
    - -

    -Transmit a PDO data frame on the bus bus_id pdo is a structure which contains the pdo to transmit bus_id is hardware dependant return canSend(bus_id,&m) or 0xFF if error request can take the value REQUEST or NOT_A_REQUEST -

    -Definition at line 37 of file pdo.c. -

    -References struct_CO_Data::canHandle, canSend(), Message::cob_id, struct_s_PDO::cobId, struct_s_timer_entry::d, struct_s_PDO::data, Message::data, struct_s_PDO::len, Message::len, MSG_WAR, struct_CO_Data::nodeState, NOT_A_REQUEST, Operational, REQUEST, Message::rtr, UNS8, and SHORT_CAN::w. -

    -Referenced by PDOmGR(), and sendPDOrequest(). -

    -Here is the call graph for this function:

    - - - - - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    UNS8 sendPDOevent (CO_Data d,
    void *  variable 
    )
    -
    -
    - -

    - -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    UNS8 sendPDOrequest (CO_Data d,
    UNS32  cobId 
    )
    -
    -
    - -

    -

    Parameters:
    - - - -
    d 
    cobId 
    -
    -
    Returns:
    - -

    -Definition at line 181 of file pdo.c. -

    -References struct_s_PDO::cobId, struct_s_timer_entry::d, struct_CO_Data::firstIndex, struct_CO_Data::lastIndex, struct_s_PDO::len, MSG_WAR, struct_CO_Data::objdict, s_quick_index::PDO_RCV, td_subindex::pObject, td_indextable::pSubindex, REQUEST, sendPDO(), UNS16, UNS32, and UNS8. -

    -Here is the call graph for this function:

    - - - - - - -
    -

    -


    Generated on Fri Jun 8 08:52:02 2007 for CanFestival by  +Definition at line 104 of file pdo.c. +

    +References struct_CO_Data::canHandle, canSend(), struct_s_timer_entry::d, struct_CO_Data::firstIndex, struct_CO_Data::lastIndex, MSG_ERR, MSG_WAR, struct_CO_Data::objdict, s_quick_index::PDO_RCV, td_subindex::pObject, td_indextable::pSubindex, REQUEST, UNS16, and UNS32. +

    +Referenced by TestMaster_post_TPDO(). +

    +Here is the call graph for this function:

    + + + + + +
    +

    +


    Generated on Mon Jul 2 19:10:32 2007 for CanFestival by  doxygen 1.5.1