Codec Services: Difference between revisions
heres da hints |
|||
Line 14: | Line 14: | ||
| Finalize | | Finalize | ||
|} | |} | ||
== Touchscreen == | |||
The touchscreen is the SPI [[SPI_Registers#SPI_NEW_CNT|device number 3]], so it uses the [[SPI_Services|0x10142XXX]] SPI registers. It is initialized by issuing the following SPI commands: | |||
spi_select_reg(3, 0x67); | |||
spi_offset_mask(3, 0x26, 0x80, 0x80); | |||
spi_select_reg(3, 0x67); | |||
spi_offset_mask(3, 0x24, 0, 0x80); | |||
spi_select_reg(3, 0x67); | |||
spi_offset_mask(3, 0x25, 0x10, 0x3C); | |||
=MIC Codec "cdc:MIC"= | =MIC Codec "cdc:MIC"= |