Contact: H.-Chr. v. d. Wense, Motorola GmbH, Schatzbogen 7, D-81829 Munich, Germany
Ph: +49 (89) 92103-882 E-Mail: H.Wense@Motorola.com
LIN Specification Package
Revision 2.0
September 23, 2003; Page 17
Table of contents
2.3 Notification......................................................................................6
2.3.1 l_flg_tst ...........................................................................................6
2.3.2 l_flg_clr ...........................................................................................7
2.4 Schedule management...................................................................7
2.4.1 l_sch_tick........................................................................................7
2.4.2 l_sch_set ........................................................................................8
2.5 Interface management....................................................................9
2.5.1 l_ifc_init...........................................................................................9
2.5.2 l_ifc_connect...................................................................................9
2.5.3 l_ifc_disconnect ..............................................................................9
2.5.4 l_ifc_goto_sleep............................................................................10
2.5.5 l_ifc_wake_up...............................................................................10
2.5.6 l_ifc_ioctl.......................................................................................11
2.5.7 l_ifc_rx ..........................................................................................11
2.5.8 l_ifc_tx ..........................................................................................12
2.5.9 l_ifc_aux .......................................................................................12
2.5.10 l_ifc_read_status ..........................................................................13
2.6 User provided call-outs.................................................................15
2.6.1 l_sys_irq_disable ..........................................................................15
2.6.2 l_sys_irq_restore ..........................................................................15
3 Node configuration............................................................................16
3.0.1 ld_is_ready ...................................................................................16
3.0.2 ld_check_response.......................................................................17
3.0.3 ld_assign_NAD.............................................................................17
3.0.4 ld_assign_frame_id ......................................................................18
3.0.5 ld_read_by_id ...............................................................................18
3.0.6 ld_conditional_change_NAD ........................................................19
4 Diagnostic transport layer .................................................................20
4.1 Raw API........................................................................................20
4.1.1 ld_put_raw ....................................................................................20
4.1.2 ld_get_raw ....................................................................................21
4.1.3 ld_raw_tx_status...........................................................................21
4.1.4 ld_raw_rx_status ..........................................................................22
4.2 Cooked API ..................................................................................22
4.2.1 ld_send_message ........................................................................22
4.2.2 ld_receive_message.....................................................................23
4.2.3 ld_tx_status ..................................................................................23
4.2.4 ld_rx_status ..................................................................................24
5 Examples ..........................................................................................25
5.1 LIN core API usage ......................................................................25
5.2 LIN description file ........................................................................27
Registered copy for kshchen@hirain.com