Revision e1dad5a6 hw/pxa2xx_gpio.c
b/hw/pxa2xx_gpio.c | ||
---|---|---|
154 | 154 |
__FUNCTION__, offset); |
155 | 155 |
return s->gpsr[bank]; /* Return last written value. */ |
156 | 156 |
|
157 |
case GPCR: /* GPIO Pin-Output Clear registers */ |
|
158 |
printf("%s: Read from a write-only register " REG_FMT "\n", |
|
159 |
__FUNCTION__, offset); |
|
160 |
return 31337; /* Specified as unpredictable in the docs. */ |
|
161 |
|
|
157 | 162 |
case GRER: /* GPIO Rising-Edge Detect Enable registers */ |
158 | 163 |
return s->rising[bank]; |
159 | 164 |
|
Also available in: Unified diff