这个和芯片也有关系 使用KEIL5调试LPC1768时,可以使用的VTREG为:(通过命令 DIR VTREG)
TRAPS: ulong, value = 0x00000000
TRIGFLT: ulong, value = 0x00000000
STCLK: ulong, value = 0x00000000
XTAL: ulong, value = 0x00B71B00
IRC: ulong, value = 0x003D0900
RTCX: ulong, value = 0x00008000
CCLK: ulong, value = 0x05F5E100
USBCLKDIV: ulong, value = 0x17D78400
SYSCLK: ulong, value = 0x00B71B00
PLLCLK: ulong, value = 0x17D78400
USBCLK: ulong, value = 0x02DC6C00
V3: float, value = 3.29999995
PORT0: ulong, value = 0x7FFF8FFF
PORT1: ulong, value = 0xFFFFC713
PORT2: ulong, value = 0x00003FFF
PORT3: ulong, value = 0x06000000
PORT4: ulong, value = 0x30000000
S0IN: ushort, value = 0xFFFF
S0OUT: ushort, value = 0x0000
S0TIME: uchar, value = 0x01
S0BAUD: ulong, value = 0x00002580
S1IN: ushort, value = 0xFFFF
S1OUT: ushort, value = 0x0000
S1TIME: uchar, value = 0x01
S1BAUD: ulong, value = 0x00002580
S2IN: ushort, value = 0xFFFF
S2OUT: ushort, value = 0x0000
S2TIME: uchar, value = 0x01
S2BAUD: ulong, value = 0x00002580
S3IN: ushort, value = 0xFFFF
S3OUT: ushort, value = 0x0000
S3TIME: uchar, value = 0x01
S3BAUD: ulong, value = 0x00002580
CAN1ID: ulong, value = 0x00000000
CAN1L: uchar, value = 0x00
CAN1B0: uchar, value = 0x00
CAN1B1: uchar, value = 0x00
CAN1B2: uchar, value = 0x00
CAN1B3: uchar, value = 0x00
CAN1B4: uchar, value = 0x00
CAN1B5: uchar, value = 0x00
CAN1B6: uchar, value = 0x00
CAN1B7: uchar, value = 0x00
CAN1IN: ushort, value = 0x0000
CAN1OUT: ushort, value = 0x0000
CAN2ID: ulong, value = 0x00000000
CAN2L: uchar, value = 0x00
CAN2B0: uchar, value = 0x00
CAN2B1: uchar, value = 0x00
CAN2B2: uchar, value = 0x00
CAN2B3: uchar, value = 0x00
CAN2B4: uchar, value = 0x00
CAN2B5: uchar, value = 0x00
CAN2B6: uchar, value = 0x00
CAN2B7: uchar, value = 0x00
CAN2IN: ushort, value = 0x0000
CAN2OUT: ushort, value = 0x0000
SPI_IN: ushort, value = 0x0000
SPI_OUT: ushort, value = 0x0000
SSP0_IN: ushort, value = 0x0000
SSP0_OUT: ushort, value = 0x0000
SSP1_IN: ushort, value = 0x0000
SSP1_OUT: ushort, value = 0x0000
I2C0_IN: ushort, value = 0xFFFF
I2C0_OUT: ushort, value = 0xFFFF
I2C1_IN: ushort, value = 0xFFFF
I2C1_OUT: ushort, value = 0xFFFF
I2C2_IN: ushort, value = 0xFFFF
I2C2_OUT: ushort, value = 0xFFFF
VREF: float, value = 3.29999995
AIN0: float, value = 0
AIN1: float, value = 0
AIN2: float, value = 0
AIN3: float, value = 0
AIN4: float, value = 0
AIN5: float, value = 0
AIN6: float, value = 0
AIN7: float, value = 0
AOUT: float, value = 0