Application Development; Application Program Interfaces And Examples; Gpio Application Program Interfaces And Examples - Embest SBC8600B Quick Start Manual

Hide thumbs Also See for SBC8600B:
Table of Contents

Advertisement

2. Click [Build-> Build Solution] in VS2008 menu, after sysgen and
build BSP have finished, replace the nk.bin located in the TF card
with the newly generated nk.bin
3. Copy
C:\WINCE700\PUBLIC\PowerVR\oak\target\Rev125\ARMV4I\re
tail\*.exe to the SBC8600B windows embedded compact 7
system. And double click each demo to test.

7.7 Application Development

This chapter introduces how to develop Windows Embedded Compact 7
application programs in SBC8600B.

7.7.1 Application Program Interfaces and Examples

The API used for development of SBC8600B application programs employs
the Microsoft Windows Embedded Compact 7 standard application program
interface definition, SBC8600B only expands the interface definitions of
GPIO
based
on
CD\WINCE700\app\GPIOAppDemo to see how to control the GPIO pin
status.
Please check relative Help documents of MSDN Windows Embedded
Compact 7 API for Windows Embedded Compact 7 standard application
program interface definitions.

7.7.2 GPIO Application Program Interfaces and Examples

GPIO device name is L"GIO1:" The extension the DeviceIoControl interface
definition corresponding device IOCTL code includes:
IOCTL Code
IOCTL_GPIO_SETBIT
IOCTL_GPIO_CLRBIT
IOCTL_GPIO_GETBIT
IOCTL_GPIO_SETMODE
standard
API.
Set GPIO pin as 1
Set GPIO pin as 0
Read GPIO pin
Set the working mode of GPIO pin
Please
refer
to
Description
Page | 91
the

Advertisement

Table of Contents
loading

Table of Contents