User manual
...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 172
www.energymicro.com
Bit Name Reset Access Description
Value Mode Description
1 POSEDGE A one HFPERCLK cycle pulse is generated for every positive edge of the incoming
signal
2 NEGEDGE A one HFPERCLK clock cycle pulse is generated for every negative edge of the
incoming signal
3 BOTHEDGES A one HFPERCLK clock cycle pulse is generated for every edge of the incoming signal
23:22 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
21:16 SOURCESEL 0x00 RW Source Select
Select input source to PRS channel.
Value Mode Description
0b000000 NONE No source selected
0b000001 VCMP Voltage Comparator
0b000010 ACMP0 Analog Comparator 0
0b000011 ACMP1 Analog Comparator 1
0b000110 DAC0 Digital to Analog Converter 0
0b001000 ADC0 Analog to Digital Converter 0
0b010000 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0
0b010001 USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1
0b010010 USART2 Universal Synchronous/Asynchronous Receiver/Transmitter 2
0b011100 TIMER0 Timer 0
0b011101 TIMER1 Timer 1
0b011110 TIMER2 Timer 2
0b011111 TIMER3 Timer 3
0b100100 USB Universal Serial Bus Interface
0b101000 RTC Real-Time Counter
0b101001 UART0 Universal Asynchronous Receiver/Transmitter 0
0b101010 UART1 Universal Asynchronous Receiver/Transmitter 0
0b110000 GPIOL General purpose Input/Output
0b110001 GPIOH General purpose Input/Output
0b110100 LETIMER0 Low Energy Timer 0
0b110111 BURTC Backup RTC
0b111001 LESENSEL Low Energy Sensor Interface
0b111010 LESENSEH Low Energy Sensor Interface
0b111011 LESENSED Low Energy Sensor Interface
15:3 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
2:0 SIGSEL 0x0 RW Signal Select
Select signal input to PRS channel.
Value Mode Description
SOURCESEL = 0b000000
(NONE)
0bxxx OFF Channel input selection is turned off
SOURCESEL = 0b000001
(VCMP)
0b000 VCMPOUT Voltage comparator output VCMPOUT
SOURCESEL = 0b000010
(ACMP0)
0b000 ACMP0OUT Analog comparator output ACMP0OUT
SOURCESEL = 0b000011
(ACMP1)
0b000 ACMP1OUT Analog comparator output ACMP1OUT
SOURCESEL = 0b000110 (DAC0)
0b000 DAC0CH0 DAC ch0 conversion done DAC0CH0
0b001 DAC0CH1 DAC ch1 conversion done DAC0CH1
SOURCESEL = 0b001000 (ADC0)
0b000 ADC0SINGLE ADC single conversion done ADC0SINGLE