Table of Contents
HLSB-36PCI2 User's Manual
Chapter 1 Hardware
Chapter 2 Software
1.1 Features ............................................................................................................................................................................................................. 1-1
1.2 Specifications .................................................................................................................................................................................................. 1-1
1.3 Connector specifications ............................................................................................................................................................................ 1-2
1.4 DIP switches .................................................................................................................................................................................................... 1-3
1.5 Memory map ................................................................................................................................................................................................... 1-4
1.5.1 MKY36 ..................................................................................................................................................................................................... 1-4
1.5.2 Unique register of HLSB-36PCI2 ................................................................................................................................................... 1-5
1.6 The access without driver software ....................................................................................................................................................... 1-6
2.1 Outline ............................................................................................................................................................................................................... 2-1
2.2 Copyright and disclaimer ........................................................................................................................................................................... 2-1
2.3 File structure .................................................................................................................................................................................................... 2-2
2.4 Restrictions ....................................................................................................................................................................................................... 2-2
2.4.1 Multi-thread .......................................................................................................................................................................................... 2-2
2.4.2 Interrupt handling .............................................................................................................................................................................. 2-3
2.5 API functions ................................................................................................................................................................................................... 2-4
2.5.1 HlsbGetVersion .................................................................................................................................................................................... 2-5
2.5.2 HlsbGetLastError ................................................................................................................................................................................. 2-6
2.5.3 HlsbSearchBoard ................................................................................................................................................................................. 2-7
2.5.4 HlsbOpenHandle ................................................................................................................................................................................. 2-8
2.5.5 HlsbCloseHandle ................................................................................................................................................................................. 2-9
2.5.6 HlsbReadWord ...................................................................................................................................................................................2-10
2.5.7 HlsbWriteWord ..................................................................................................................................................................................2-11
2.5.8 HlsbReadData .....................................................................................................................................................................................2-12
2.5.9 HlsbWriteData ....................................................................................................................................................................................2-13
2.5.10 HlsbResetBoard ...............................................................................................................................................................................2-14
2.5.11 HlsbGetInt0Counter, HlsbGetInt1Counter ...........................................................................................................................2-15
2.5.12 HlsbClearInt0Counter, HlsbClearInt1Counter .....................................................................................................................2-16
2.5.13 HlsbGetInt0StatusInfo, HlsbGetInt1StatusInfo ...................................................................................................................2-17
2.5.14 HlsbClearInt0StatusInfo, HlsbClearInt1StatusInfo .............................................................................................................2-18
2.6 Sample program ..........................................................................................................................................................................................2-19
2.6.1 Sample of access to MKY36#1 .....................................................................................................................................................2-19
2.6.2 Sample of access to MKY36#2......................................................................................................................................................2-20
2.6.3 Sample of interrupt handling ......................................................................................................................................................2-21