Sam Grove
/
Re-InvokeISP
Testing documentation
Diff: main.cpp
- Revision:
- 2:60a7f968d4ad
- Parent:
- 1:e835875b325c
- Child:
- 3:987ee333d593
--- 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;