Difference between revisions of "Nxp chip library routines"

From Wiki at Neela Nurseries
Jump to: navigation, search
(Created page with "1 2 3 <!-- comment --> <pre> :~/Downloads/nxp/lpcopen$ grep -nr Board_LED_Toggle ./* ./nxp_lpcxpresso_11u14_board_lib/src/board.c:137:void Board_LED_Toggle(uint8_t LEDNumber)...")
 
m
Line 1: Line 1:
1
+
<center>
2
+
CMSIS Library Routines and Details,<br />
3
+
LPC1xxx Board Routines<br />
 +
notes started 2018-10-25 THU<br />
 +
</center>
 +
 
 +
 
 +
LPC11U14 board routines . . .
 
<!-- comment -->
 
<!-- comment -->
  
Line 13: Line 18:
 
./nxp_lpcxpresso_11u14_periph_watchdog/example/src/watchdog.c:65: Board_LED_Toggle(0);
 
./nxp_lpcxpresso_11u14_periph_watchdog/example/src/watchdog.c:65: Board_LED_Toggle(0);
 
./nxp_lpcxpresso_11u14_periph_watchdog/example/src/watchdog.c:72: Board_LED_Toggle(0);
 
./nxp_lpcxpresso_11u14_periph_watchdog/example/src/watchdog.c:72: Board_LED_Toggle(0);
 +
</pre>
 +
 +
The routine itself in file ___:
 +
 +
<pre>
 +
    137 void Board_LED_Toggle(uint8_t LEDNumber)
 +
    138 {^M
 +
    139        if (LEDNumber == 0)^M
 +
    140                Chip_GPIO_SetPinToggle(LPC_GPIO, 0, 7);
 +
    141 }
 
</pre>
 
</pre>
  
  
 
<!-- comment -->
 
<!-- comment -->

Revision as of 20:59, 25 October 2018

CMSIS Library Routines and Details,
LPC1xxx Board Routines
notes started 2018-10-25 THU


LPC11U14 board routines . . .

:~/Downloads/nxp/lpcopen$ grep -nr Board_LED_Toggle ./*
./nxp_lpcxpresso_11u14_board_lib/src/board.c:137:void Board_LED_Toggle(uint8_t LEDNumber)
./nxp_lpcxpresso_11u14_board_lib/inc/board_api.h:112:void Board_LED_Toggle(uint8_t LEDNumber);
./nxp_lpcxpresso_11u14_periph_clkout/example/src/clkout.c:77:		Board_LED_Toggle(0);
./nxp_lpcxpresso_11u14_periph_pinint/example/src/pinint.c:187:		Board_LED_Toggle(0);
./nxp_lpcxpresso_11u14_periph_uart/example/src/uart.c:135:				Board_LED_Toggle(0);/* Toggle LED if the TX FIFO is full */
./nxp_lpcxpresso_11u14_periph_watchdog/example/src/watchdog.c:65:		Board_LED_Toggle(0);
./nxp_lpcxpresso_11u14_periph_watchdog/example/src/watchdog.c:72:	Board_LED_Toggle(0);

The routine itself in file ___:

    137 void Board_LED_Toggle(uint8_t LEDNumber)
    138 {^M
    139         if (LEDNumber == 0)^M
    140                 Chip_GPIO_SetPinToggle(LPC_GPIO, 0, 7);
    141 }