Changeset 1433ecda in mainline for uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c
r47b2d7e3 r1433ecda 172 172 con = con | ADCCON_PRSCEN; 173 173 174 174 pio_write_32(&ts->io->con, con); 175 175 176 176 /* … … 256 256 257 257 /* Enable auto xy-conversion mode */ 258 pio_write_32(&ts->io->tsc, (pio_read_32(&ts->io->tsc) 259 & ~3) | 4); 258 pio_write_32(&ts->io->tsc, (pio_read_32(&ts->io->tsc) & ~3) | 4); 260 259 261 260 /* Start the conversion. */ 262 pio_write_32(&ts->io->con, pio_read_32(&ts->io->con) 263 | ADCCON_ENABLE_START); 261 pio_write_32(&ts->io->con, pio_read_32(&ts->io->con) | ADCCON_ENABLE_START); 264 262 } 265 263
Note:
See TracChangeset
for help on using the changeset viewer.