Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 7 months ago.
how do i know which peripherals are used in the pins
hi i want to power save using lpc1768
i want to know which peripheral is used for :
- (ticker) (used for timing interrupt
- waking up from sleep) - (AnalogIn pins)
- (spi pins)
-------------------------http://developer.mbed.org/cookbook/Power-Management
Peripheral Power Control Register
- Bit Name Description Value at Reset
- 0 - Reserved. NA
- 1 PCTIM0 Timer/Counter 0 power/clock control bit. 1
- 2 PCTIM1 Timer/Counter 1 power/clock control bit. 1
- 3 PCUART0 UART0 power/clock control bit. 1
- 4 PCUART1 UART1 power/clock control bit. 1
- 5 - Reserved. NA
- 6 PCPWM1 PWM1 power/clock control bit. 1
- 7 PCI2C0 The I2C0 interface power/clock control bit. 1
- 8 PCSPI The SPI interface power/clock control bit. 1
- 9 PCRTC The RTC power/clock control bit. 1
- 10 PCSSP1 The SSP 1 interface power/clock control bit. 1
- 11 - Reserved. NA
- 12 PCADC A/D converter (ADC) power/clock control bit. 0
- 13 PCCAN1 CAN Controller 1 power/clock control bit. 0
- 14 PCCAN2 CAN Controller 2 power/clock control bit. 0
- 15 PCGPIO Power/clock control bit for IOCON, GPIO, and GPIO interrupts. 1
- 16 PCRIT Repetitive Interrupt Timer power/clock control bit. 0
- 17 PCMCPWM Motor Control PWM 0
- 18 PCQEI Quadrature Encoder Interface power/clock control bit. 0
- 19 PCI2C1 The I2C1 interface power/clock control bit. 1
- 20 - Reserved. NA
- 21 PCSSP0 The SSP0 interface power/clock control bit. 1
- 22 PCTIM2 Timer 2 power/clock control bit. 0
- 23 PCTIM3 Timer 3 power/clock control bit. 0
- 24 PCUART2 UART 2 power/clock control bit. 0
- 25 PCUART3 UART 3 power/clock control bit. 0
- 26 PCI2C2 I2C interface 2 power/clock control bit. 1
- 27 PCI2S I2S interface power/clock control bit. 0
- 28 - Reserved. NA
- 29 PCGPDMA GPDMA function power/clock control bit. 0
- 30 PCENET Ethernet block power/clock control bit. 0
- 31 PCUSB USB interface power/clock control bit. 0