| | 1 | = MnBdSetEvent = |
| | 2 | Specify an event function to be called when a specified response is received from the main board |
| | 3 | |
| | 4 | {{{ |
| | 5 | void MnBdSetEvent(int item, MNBD_EVENT_FNC event); |
| | 6 | }}} |
| | 7 | |
| | 8 | == Parameters == |
| | 9 | |
| | 10 | * item - response item such as MNBD_REQ_GET_WT |
| | 11 | * event - event function that is called when the response is received |
| | 12 | |
| | 13 | == Return Value == |
| | 14 | |
| | 15 | This function oes not return any value |
| | 16 | |
| | 17 | == Remarks == |
| | 18 | |
| | 19 | == Examples == |
| | 20 | |
| | 21 | {{{ |
| | 22 | MnBdSetEvent(MNBD_REQ_GET_WT, MnBdEventWtRcv); |
| | 23 | |
| | 24 | MNBD_EVENT(WtRcv) |
| | 25 | { |
| | 26 | return 0; |
| | 27 | } |
| | 28 | }}} |
| | 29 | |
| | 30 | |
| | 31 | == See Also == |
| | 32 | |
| | 33 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdClearEvent MnBdClearEvent] |
| | 34 | |