| Electronic Components Datasheet Search |
|
WM9714L Datasheet(PDF) 74 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
WM9714L Datasheet(HTML) 74 Page - Cirrus Logic |
|
74 / 120 page ![]() WM9714L 74 Rev 4.0 The properties of the GPIOs are controlled through registers 4Ch to 52h, as shown below. REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION 4Ch n GCn 1 GPIO Pin Configuration Control 0 = Output 1 = Input (GC9-15 are always inputs) 4Eh n GPn 1 GPIO Pin Polarity / Type (Note 1) Input (GCn = 1) Input (GCn = 1) 0 = Active low 1 = Acitve high 0 = Active low 1 = Acitve high 50h n GSn 0 GPIO Pin Sticky Control 0 = Not sticky 1 = Sticky 52h n GWn 0 GPIO Pin Wake-up Control 0 = No wake-up (no interrupts generated by GPIO) 1 = Wake-up (generate interrupts from GPIO) 54h n GIn N/A GPIO Pin Status Read = Returns status of GPIO Write = Writing 0 clears sticky bits Table 57 GPIO Control Note 1: Excludes GP11. For Thermal Sensor Polarity Control (GP11) see Table 40 on page 59. The following procedure is recommended for handling interrupts: When the controller receives an interrupt, check register 54h. For each GPIO bit in descending order of priority, check if the bit is ‘1’. If yes, execute corresponding interrupt routine, then write ‘0’ to corresponding bit in 54h. If no, continue to next lower priority GPIO. After all GPIOs have been checked, check if interrupt still present or no. If yes, repeat procedure. If no, then jump back to process that ran before the interrupt. If the system CPU cannot execute such an interrupt routine, it may be preferable to switch internal signals directly onto the GPIO pins. However, in this case the interrupt signals cannot be made sticky, and more GPIO pins are tied up both on the WM9714L and on the CPU. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |