Sam Grove
/
Re-InvokeISP
Testing documentation
Revision 2:60a7f968d4ad, committed 2011-04-18
- Comitter:
- sgrove
- Date:
- Mon Apr 18 04:10:51 2011 +0000
- Parent:
- 1:e835875b325c
- Child:
- 3:987ee333d593
- Commit message:
- r3
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Apr 18 04:09:29 2011 +0000 +++ b/main.cpp Mon Apr 18 04:10:51 2011 +0000 @@ -1,12 +1,8 @@ #include "mbed.h" -//! using a led +// using a led DigitalOut myled(LED1); -/** - * @param[in] - none - * @return - none - */ void DisconnectPLL0(){ // good practice to disable before feeding __disable_irq(); @@ -30,14 +26,14 @@ LPC_SC->SCS = 0x00; } -//! IAP address +// IAP address #define IAP_LOCATION 0x1FFF1FF1 -//! variable for command and result +// variable for command and result unsigned int command[5]; unsigned int result[5]; -//! function pointer with 2 array parameters +// function pointer with 2 array parameters typedef void (*IAP)(unsigned int[5],unsigned int [5]); -//! declaration of the fptr. +// declaration of the fptr. IAP iap_entry = (IAP)IAP_LOCATION;