PORTA       0
PORTB       1
PORTC       2
PORTD       3
PORTE       4
TIMER       5
UART_DATA   6
UART_CR     7
UART_MR     8
UART_BRGR   9
USB         10
USB_WAIT    11
USB16       12
USB16_WAIT  13
USB32       14
USB32_WAIT  15
POWER       16
SPI_CR      17
SPI_DATA32  18
SPI_DATA8   19
SPI_DATA    19  
ADC_CR      20
ADC_SR      21
ADC_DATA0   22
ADC_DATA1   23
ADC_DATA2   24
ADC_DATA3   25
IDLE_ENABLE 26
TIMER2      27
PWM0        28
PWM1        29
DBG1        29
PWM2        30
DBG2        30
IRQ_FLAG    31
IRQ_ENABLE  32
WINDOW      33
FAST_TIMER  34
CAPT_VALUE  35
CAPT_VALUE2 37
CAPT_CLOCK  36
TIMER_ENABLE   37
SPI_DATA16  38
SPI_DATA24  39
SPI_CSR     28
RANDOM      40
CAPT_MODE   40
CAPT_TIMER  41
FAST_TIMER_CLOCK 42

CAPT_INTERVAL0 50 
CAPT_INTERVAL1 51 
CAPT_INTERVAL2 52 
CAPT_INTERVAL3 53 
CAPT_INTERVAL4 54 
CAPT_INTERVAL5 55 
CAPT_INTERVAL6 56 
CAPT_INTERVAL7 57 

BDM_ENABLE      60
BDM_TIMES       61
BDM_DATA_8      62
BDM_DATA_16     63    
BDM_DATA_32     64    

PIN_TEST_WINDOW 2
PIN_TEST_RESULT 3 

USB_INT 253    
WRITE_ENABLE 254    
SERIAL      255

PBMAX       0
PBPOS       1
