beautypg.com

Hd can module programmer’s guide (linux) – Hatteland Display HT B22 (Fanless) User Manual

Page 14

background image

DOC101356-1_ - rev 2 – 2013-09-24 - Created by:6644

Page 14 of 24

Hatteland Display AS, Åmsosen, N-5578 Nedre Vats, Norway

Tel: (+47) 4814 2200 - [email protected] - www.hatteland-display.com

HD CAN Module Programmer’s Guide (Linux)

All intellectual properties belongs to Hatteland Display AS

callPassThruOpen

();

//Connect Channel_1 CAN 125000bps

callPassThruConnect

();

//Soft Reset the module

callPassThruReset

();


//Re-Open Device

callPassThruOpen

();

//Connect Channel_1 CAN 125000bps

callPassThruConnect

();

//Write a single message

callPassThruWriteMsgs

();

//Set Read Message filter 0

callPassThruStartMsgFilter

();

//Read one single message

callPassThruReadMsgs

();

//Delete Read Message Filter 0

callPassThruStartMsgFilter

();

//Disconnect Channel_1

callPassThruDisconnect

();

//Close Device

callPassThruClose

();

return

1

;

}