Hi - I'm looking at the adc demo code for the MCB1700 (adc.c and .h, adctest.c, etc.) Each of the files includes type.h, but I cannot find that file anywhere.
The typedef referenced in type.h was LPC_ADC_TypeDef, also found in LPC17xx.h in CMSISv2p00_LPC17xx; however the struct typedef in LPC17xx.h is different than the vintage original. The LPC17xx.h version is missing members STAT, DR, CR and INTEN).
Anyone have a pointer to the original type.h?
Thanks,
Mike
Answered this one myself... looks like the type.h file (as well as the entire /common subdirectory) is missing from the MCB1700 LPCXpresso code bundle, but *is* included in the Keil version.
It got a bit deeper than that - types.h wasn't the culprit, but rather the system_LPC17xx.h file; v1.01 in the MCB1700 Keil code bundle is quite different from the v1.02 found in CMSISv2p00_LPC17xx. Lots of translation to perform...