| Electronic Components Datasheet Search |
|
ST2202 Datasheet(PDF) 15 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
ST2202 Datasheet(HTML) 15 Page - List of Unclassifed Manufacturers |
|
15 / 65 page ![]() Sitronix ST2202 Ver 2.0a 15/65 2003-May-05 Port-A is designed for keyboard scan with de-bounce and transition triggered interrupt, while Port-C/D/E are multiplexed with other system functions, and are controlled by PFC, PFD, and PMCR[2:0]. Port-L is shared with LCD specific signals of LCDC. Turning off LCDC by setting LPWR (LCTR[7]) reserves Port-L for GPIO. Selecting respective pins to be GPIO or signals of system function will not affect original settings of I/O directions and types. This extends the flexibility of the usage of function signals. Note: All the properties of pins are still programmable and must be ascertained before they are assigned to system functions, especially the direction of pins. TABLE 9-3 Port Control Registers Address Name R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Default $008~$00C / $07E PCA~PCE, PCL R/W PCx[7] PCx[6] PCx[5] PCx[4] PCx[3] PCx[2] PCx[1] PCx[0] 0000 0000 Bit 7~0: PCx[7:0] : Port-x direction control bits 0 = Input mode 1 = Output mode TABLE 9-4 Port Data Registers Address Name R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Default $000~$004 / $07C PA~PE, PL R/W Px[7] Px[6] Px[5] Px[4] Px[3] Px[2] Px[1] Px[0] 1111 1111 Bit 7~0: Px[7:0] : Port data / pull-resistor control bits I/O Modes R/W Input Mode Output Mode Read Input data Write 0 = Disable pull-up resistor Select pull-down resistor (Port-C only) 1 = Select pull-up resistor Output data TABLE 9-5 Port I/O Type Select Registers Address Name R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Default $005 PSC R/W PSC[7] PSC[6] PSC[5] PSC[4] PSC[3] PSC[2] PSC[1] PSC[0] 1111 1111 Bit 7~0: PSC[7:0] : Port I/O types selection bits Input Mode Output Mode 0 = Disable pull-up/down resisters 1 = Enable pull-up/down resisters 0 = Open-drain 1 = CMOS TABLE 9-6 Port Function Select Registers Address Name R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Default $00D PFC R/W RXD0 TXD0 SRDY SS MOSI MISO SCK INTX 0000 0000 $00E PFD R/W RXD1 TXD1 CS6 CS5 CS4 CS3 CS2 CS1 0000 0000 Bit 7~0: PFC/D[7:0] : Port function select bits 0 = GPIO 1 = Indicated function signal is connected TABLE 9-7 Port Miscellaneous Control Register (PMCR) Address Name R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Default $00F PMCR R/W PULL PDBN INTEG CSM1 CSM0 BCO TCO1 TCO0 1000 0000 Bit 7: PULL : Enable/disable all pull-up resisters of Port-A/B/D/E/L 1 = Enable pull-up resisters 0 = Disable pull-up resisters |
|
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 |