View Issue Details

IDProjectCategoryView StatusLast Update
0000594FSS5PC100DIOpublic2011-05-16 16:40
Reporterfroelich Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product VersionV1.3 
Target VersionV1.4Fixed in VersionV1.4 
Summary0000594: Add DIO driver
DescriptionAdd first version of DIo driver to image.
Forum Link
Found Driver VersionV2.0
Fixed Driver VersionV2.0

Activities

froelich

2011-05-16 16:40

administrator   ~0000396

First version of DIO driver for this platform. Intterupt handling is not implemented at the moment.
Port number is equal to pin number of X1.
Example:
Set pin 196 of X1 (FAN_PWMOUT) as output.
reg open \drivers\builtin\digitalio
reg set val UseAsIoG dword 0x00000010
reg set val DataDirG dword 0x00000010

196/32 = 6.
'A' + 6 = 'G'