...
When using Windows Embedded CE, you may use following drvlib_app-functions: DFIOMapSpace , DFIOWrite, DFIORead.
CPLD-Registers
A4 | A3 | A2 | A1 | Offset | Description | Write | Read | Virtual Bootloader-Address |
---|---|---|---|---|---|---|---|---|
0 | 0 | 0 | s/c | 0x0000 | REG_CONTROL | Control/Reset | Module Version | 0xbf7e0000, 0xbf7e0002 |
0 | 0 | 1 | s/c | 0x0004 | REG_FEATURE | Features/Pin-Routing | Feature, PCB-Version | 0xbf7e0004, 0xbf7e0006 |
0 | 1 | 0 | s/c | 0x0008 | REG_HIBERNATE | Hibernate/Wake-Control | - | 0xbf7e0008, 0xbf7e000a |
0 | 1 | 1 | - | 0x000c | REG_PWM | PWM(6..0) | - | 0xbf7e000c |
1 | 0 | 0 | s/c | 0x0010 | REG_PINLDR | Pin-Direction | Pin-Level | 0xbf7e0010, 0xbf7e0012 |
1 | 0 | 1 | s/c | 0x0014 | REG_PINSET | Pin-Level | - | 0xbf7e0014, 0xbf7e0016 |
1 | 1 | 0 | s/c | 0x0018 | REG_TTLIO | TTL-Output-Port | TTL-Input-Port | 0xbf7e0018, 0xbf7e001a |
...
Bit | Description | Use with this GPIO-number in GPIO-functions |
---|---|---|
0 | SODIMM-Pin 69 | 127 |
1 | SODIMM-Pin 100 (PSKTSEL) | 126 |
2 | SODIMM-Pin 98 (CF_nREG) | 125 |
3 | SODIMM-Pin 104 (CF_nIOIS16) | 124 |
4 | SODIMM-Pin 93 (RDnWR) | 130 |
5 | Route CF_nIOIS16 (SODIMM-Pin 104) to IRQ (SODIMM-Pin 43) | - |
6 | - | - |
7 | - | - |
...
Bit | Description | Use with this GPIO-number in GPIO-functions |
---|---|---|
0 | SODIMM-Pin 69 | 127 |
1 | SODIMM-Pin 100 (PSKTSEL) | 126 |
2 | SODIMM-Pin 98 (CF_nREG) | 125 |
3 | SODIMM-Pin 104 (CF_nIOIS16) | 124 |
4 | SODIMM-Pin 93 (RDnWR) | 130 |
5 | - | - |
6 | - | - |
7 | - | - |
...
read: read level of pin.
write: write level of pin.