Changes

Jump to navigation Jump to search
4 bytes removed ,  00:09, 25 January 2021
Line 151: Line 151:     
Only GPIO2 and GPIO3 pins have their interrupts configurable. Active low pins should be configured as "falling edge", and output ports shouldn't have interrupts enabled at all.
 
Only GPIO2 and GPIO3 pins have their interrupts configurable. Active low pins should be configured as "falling edge", and output ports shouldn't have interrupts enabled at all.
      
[[GPIO Services]] bitmasks use this table, in that order:
 
[[GPIO Services]] bitmasks use this table, in that order:
Line 175: Line 174:  
| 0
 
| 0
 
| 0x64
 
| 0x64
| Headphones detected (CODEC)
+
| Headphones inserted
 
|-
 
|-
 
| 1
 
| 1
 
| 0x66
 
| 0x66
| TWL depop circuit (?) (CODEC, active-low)
+
| TWL depop circuit (?) (active-low)
 
|-style="border-top: double"
 
|-style="border-top: double"
 
| DATA2.0
 
| DATA2.0
Line 219: Line 218:  
| 8
 
| 8
 
| 0x70
 
| 0x70
| Headphones inserted (active-low)
+
| Headphones button/half-inserted (active-low)
 
|-
 
|-
 
| 9
 
| 9
516

edits

Navigation menu