Wdt_Reset; Simple_Adc; Capture; Printchar For Nxp - CooCox CoLinkEx_LPC11C14 User Manual

Table of Contents

Advertisement

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.
35

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CoLinkEx_LPC11C14 and is the answer not in the manual?

Questions and answers

Table of Contents