
PKP
VS1000 PROGRAMMER’SGUIDE VSMPG
12 VS1000 System Controller 41
12.1General ..................................... 41
12.2Registers .................................... 41
12.2.1 SCI_SYSTEM: System Power and Clock Control . . . . . . . . . . 41
12.2.2USBpowering ............................. 42
12.2.3 SCI_STATUS: System Flags . . . . . . . . . . . . . . . . . . . . . 42
12.2.4USBdetection ............................. 42
12.3ConservingPower ............................... 43
12.4I/OPinRouting................................. 44
12.5 VS1000 ROM code usage . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
13 PLL controller v1.0 2006-05-10 45
13.1General ..................................... 45
13.2 DAC Interpolator control . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
13.3Registers .................................... 45
13.3.1 Interpolator Rate (low part) . . . . . . . . . . . . . . . . . . . . . . 45
13.3.2 Interpolator Rate (high part) and PLL control . . . . . . . . . . . . 46
13.4 Overview of VS1000 Clocking . . . . . . . . . . . . . . . . . . . . . . . . . 47
13.5 VS1000 ROM code usage . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
14 Interruptable General Purpose IO (VS1000) v1.0 2002-04-23 49
14.1General ..................................... 49
14.2Registers .................................... 49
14.2.1 Data Direction GPIOx_DDR . . . . . . . . . . . . . . . . . . . . . . 49
14.2.2 Output Data GPIOx_ODATA . . . . . . . . . . . . . . . . . . . . . . 49
14.2.3 Input Data GPIOx_IDATA . . . . . . . . . . . . . . . . . . . . . . . 50
14.2.4 Falling Edge Interrupt Enable GPIOx_INT_FALL . . . . . . . . . . 50
14.2.5 Rising Edge Interrupt Enable GPIOx_INT_RISE . . . . . . . . . . 50
14.2.6 Interrupt Pending Source GPIOx_INT_PEND . . . . . . . . . . . . 50
14.2.7 Data Set Mask GPIOx_SET_MASK . . . . . . . . . . . . . . . . . 50
14.2.8 Data Clear Mask GPIOx_CLEAR_MASK . . . . . . . . . . . . . . 51
14.2.9 Bit Engine Config GPIOx_BIT_CONF . . . . . . . . . . . . . . . . 51
14.2.10Bit Engine 0 Read/Write GPIOx_BIT_ENG0 . . . . . . . . . . . . . 51
14.2.11Bit Engine 1 Read/Write GPIOx_BIT_ENG1 . . . . . . . . . . . . . 51
14.3 VS1000 GPIO Pin Mappings . . . . . . . . . . . . . . . . . . . . . . . . . 52
14.4 VS1000 ROM code usage . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
15 Interrupt Controller v1.0 2002-04-23 54
15.1Registers .................................... 54
15.1.1 Enable INT_ENABLE[L/H][0/1] . . . . . . . . . . . . . . . . . . . . 55
15.1.2 Origin INT_ORIGIN[0/1] . . . . . . . . . . . . . . . . . . . . . . . . 55
15.1.3 Vector INT_VECTOR . . . . . . . . . . . . . . . . . . . . . . . . . 56
15.1.4 Enable Counter INT_ENCOUNT . . . . . . . . . . . . . . . . . . . 56
15.1.5 Global Disable INT_GLOB_DIS . . . . . . . . . . . . . . . . . . . . 56
15.1.6 Global Enable INT_GLOB_EN . . . . . . . . . . . . . . . . . . . . 56
15.2 VS1000 Interrupt Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
15.3 VS1000 ROM code usage . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
16 SPI v1.3 2005-06-09 58
Rev. 0.20 2011-10-04 Page 4(90)