
35
6.2.4
WDT_Reset
A simple WDT reset example, if TIM_MatchConfigStruct. MatchValue is greater than 8,
Watchdog reset will occur. (Component TMR should be checked). It has no phenomenon
on board.
6.2.5
Simple_ADC
A simple ADC example.
It use ADC Channel 5 to get data, users can select to printf the data through UART printf.
(Need to set UART and retarget printf.)
6.2.6
Capture
A simple example to use TIMER capture function
Use PIO1_5 as the TMR32B0 Capture pin, capture on CAPn.0 rising edge and falling
edge, Generate capture interrupt. You can use printf to get the capture value in the
interrupt function. (Need to set UART and retarget printf.)
6.2.7
Printchar for NXP
Retarget printf to UART of the LPC1100 and LPC11C00 series. If you want to use printf
function in your code, you need to select the
“Retarget Printf” component. And use the
Printchar function to replace the one in Printf.c.
6.2.8
Semihosting
This example is a little different from others. If you want to use Semihosting function, you
need to use the example. Then in your application, you can use printf function to print the
code to Semihosting IP. You should enable the Semihosting function in debug
configuration. Then in debug mode, Semihosting will work. It works only in Debug mode.
Содержание CoLinkEx_LPC11C14
Страница 2: ...2 Revision history Rev Date Description 1 0 2012 05 07 Initial version...
Страница 5: ...5 6 2 8 Semihosting 35 6 2 9 CoOS_App_Framework 37...
Страница 16: ...16...
Страница 22: ...22 Click Debug button to debug the program 5...
Страница 24: ...24 2 Switch to Download page to execute Download Erase Verify Blank Check etc...
Страница 25: ...25...
Страница 31: ...31 6 Examples 6 1 Use CoIDE to develop a project...
Страница 32: ...32...
Страница 33: ...33...