SHARE
TWEET

Untitled

a guest Apr 1st, 2014 288 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PortA:
  2.  
  3. Ixxxxxxx - USB connection or charging detection (=1)
  4. x?xxxxxx -
  5. xxIxxxxx - Scrollwheel position bit 1
  6. xxxIxxxx - Scrollwheel position bit 0 (00->10->11->01 - clockwise, 00->01->11->10 - counter clockwise)
  7. xxxxIxxx - USB connection or charging detection (=1)
  8. xxxxx?xx -
  9. xxxxxxOx - vertical buttonlight on/off without scrollwheel (on=1)
  10. xxxxxxxO - horizontal buttonlight on/off without scrollwheel (on=1)
  11.  
  12. PortB:
  13.  
  14. ?xxxxxxx -
  15. x?xxxxxx -
  16. xx?xxxxx -
  17. xxx?xxxx -
  18. xxxx?xxx -
  19. xxxxxOxx - LCD Reset Line
  20. xxxxxx?x -
  21. xxxxxxx? -
  22.  
  23. PortC:
  24.        
  25. ?xxxxxxx -
  26. xIxxxxxx - SD Card present (=0)
  27. xx?xxxxx -
  28. xxx?xxxx -
  29. xxxx?xxx -
  30. xxxxx?xx -
  31. xxxxxx?x -
  32. xxxxxxx? -
  33.  
  34. PortD:
  35.  
  36. ?xxxxxxx -
  37. x?xxxxxx -
  38. xx?xxxxx -
  39. xxx?xxxx -
  40. xxxx?xxx -
  41. xxxxx?xx -
  42. xxxxxx?x -
  43. xxxxxxxO - backlight on/off (on=1)
  44.  
  45. PortE:
  46.        
  47. ?xxxxxxx -
  48. x?xxxxxx -
  49. xx?xxxxx -
  50. xxx?xxxx -
  51. xxxx?xxx -
  52. xxxxx?xx -
  53. xxxxxx?x -
  54. xxxxxxx? -
  55.  
  56. PortF:
  57.        
  58. ?xxxxxxx -
  59. x?xxxxxx -
  60. xx?xxxxx -
  61. xxx?xxxx -
  62. xxxx?xxx -
  63. xxxxxOxx - ??? something for LCD
  64. xxxxxx?x -
  65. xxxxxxx? -
  66.  
  67. PortG:
  68.        
  69. ?xxxxxxx -
  70. x?xxxxxx -
  71. xxIxxxxx - SD Card present (=0)
  72. xxx?xxxx -
  73. xxxxIxxx - LCD Type (when 1 then LCD_Type=0)
  74. xxxxx?xx -
  75. xxxxxx?x -
  76. xxxxxxx? -
  77.  
  78. PortH:
  79.        
  80. Oxxxxxxx - LCD CS Line for SPI
  81. xOxxxxxx - LCD Clock Line for SPI
  82. xxOxxxxx - Something for LCD SPI
  83. xxxOxxxx - LCD Data Line for SPI
  84. xxxx?xxx -
  85. xxxxx?xx -
  86. xxxxxx?x -
  87. xxxxxxxO - ??? something for LCD
  88.  
  89. PortI:
  90.        
  91. ?xxxxxxx -
  92. x?xxxxxx -
  93. xx?xxxxx -
  94. xxx?xxxx -
  95. xxxx?xxx -
  96. xxxxx?xx -
  97. xxxxxx?x -
  98. xxxxxxx? -
  99.  
  100. PortJ:
  101.  
  102. ?xxxxxxx -
  103. x?xxxxxx -
  104. xx?xxxxx -
  105. xxx?xxxx -
  106. xxxx?xxx -
  107. xxxxx?xx -
  108. xxxxxxOx - (lcd framebuffer frozen if port_enable=1)
  109. xxxxxxx? -
  110.  
  111. PortK:
  112.  
  113. ?xxxxxxx -
  114. x?xxxxxx -
  115. xx?xxxxx -
  116. xxx?xxxx -
  117. xxxx?xxx -
  118. xxxxx?xx -
  119. xxxxxx?x -
  120. xxxxxxx? -
  121.  
  122. PortL:
  123.  
  124. ?xxxxxxx -
  125. x?xxxxxx -
  126. xx?xxxxx -
  127. xxx?xxxx -
  128. xxxx?xxx -
  129. xxxxx?xx -
  130. xxxxxx?x -
  131. xxxxxxx? -
  132.  
  133. PortM:
  134.  
  135. Ixxxxxxx - Left Button (pressed if =0)
  136. xIxxxxxx - Select Button (pressed if =0)
  137. xxIxxxxx - Right Button (pressed if =0)
  138. xxxIxxxx - Home Button (pressed if =0)
  139. xxxxIxxx - Down Button (pressed if =0)
  140. xxxxxIxx - Up Button (pressed if =0)
  141. xxxxxx?x -
  142. xxxxxxx? -
  143.  
  144. PortN:
  145.  
  146. ?xxxxxxx -
  147. x?xxxxxx -
  148. xx?xxxxx -
  149. xxx?xxxx -
  150. xxxx?xxx -
  151. xxxxx?xx -
  152. xxxxxx?x -
  153. xxxxxxx? -
  154.  
  155. PortO:
  156.  
  157. ?xxxxxxx -
  158. x?xxxxxx -
  159. xx?xxxxx -
  160. xxx?xxxx -
  161. xxxx?xxx -
  162. xxxxx?xx -
  163. xxxxxx?x -
  164. xxxxxxx? -
  165.  
  166. PortP:
  167.  
  168. ?xxxxxxx -
  169. x?xxxxxx -
  170. xx?xxxxx -
  171. xxx?xxxx -
  172. xxxx?xxx -
  173. xxxxx?xx -
  174. xxxxxx?x -
  175. xxxxxxx? -
  176.  
  177. PortQ:
  178.  
  179. ?xxxxxxx -
  180. x?xxxxxx -
  181. xx?xxxxx -
  182. xxx?xxxx -
  183. xxxx?xxx -
  184. xxxxx?xx -
  185. xxxxxx?x -
  186. xxxxxxx? -
  187.  
  188. PortR:
  189.  
  190. Oxxxxxxx - scrollwheel bottom led (when=0)
  191. xOxxxxxx - scrollwheel right led (when=0)
  192. xxOxxxxx - scrollwheel top led (when=0)
  193. xxxOxxxx - scrollwheel left led (when=0)
  194. xxxx?xxx -
  195. xxxxx?xx -
  196. xxxxxx?x -
  197. xxxxxxx? -
  198.  
  199. PortS:
  200.  
  201. ?xxxxxxx -
  202. x?xxxxxx -
  203. xx?xxxxx -
  204. xxx?xxxx -
  205. xxxx?xxx -
  206. xxxxx?xx -
  207. xxxxxx?x -
  208. xxxxxxx? -
  209.  
  210. PortT:
  211.  
  212. ?xxxxxxx -
  213. x?xxxxxx -
  214. xx?xxxxx -
  215. xxx?xxxx -
  216. xxxx?xxx -
  217. xxxxx?xx -
  218. xxxxxxIx - HOLD switch (switched = 1)
  219. xxxxxxxI - POWER switch (switched = 1)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top