]> rtime.felk.cvut.cz Git - arc.git/commitdiff
Some comment updates in Mcu and Port
authortojo <devnull@localhost>
Tue, 4 Jan 2011 12:36:20 +0000 (13:36 +0100)
committertojo <devnull@localhost>
Tue, 4 Jan 2011 12:36:20 +0000 (13:36 +0100)
arch/ppc/mpc55xx/drivers/Mcu.c
arch/ppc/mpc55xx/drivers/Port.c

index 9ec24a14d87083f08581e0a6f7f4c1eb0fbecbea..a38e3b80b04cd023dee6b5e075ae1b547a84b159 100644 (file)
@@ -108,6 +108,13 @@ static void Mcu_LossOfLock( void  ) {
        Dem_ReportErrorStatus(MCU_E_CLOCK_FAILURE, DEM_EVENT_STATUS_FAILED);\r
 #endif\r
 \r
+  /*\r
+   * NOTE!!!\r
+   * This interrupt may be triggered more than expected.\r
+   * If you are going to use this interrupt, see [Freescale Device Errata MPC5510ACE, Rev. 10 APR 2009, errata ID: 6764].\r
+   *\r
+   */\r
+\r
        Mcu_Global.stats.lossOfLockCnt++;\r
        // Clear interrupt\r
        FMPLL.SYNSR.B.LOLF = 1;\r
index 3ee20477a95e2a45dee294ce98f1ac337b5c7c59..21274c52e585fb782e36690ec5caff007d24e83d 100644 (file)
@@ -94,7 +94,7 @@ void Port_Init(const Port_ConfigType *configType)
   // Pointers to the register memory areas\r
   vuint16_t * padConfig = &(SIU.PCR[0].R);\r
   vuint8_t * outConfig = &(SIU.GPDO[0].R);\r
-//  vuint8_t * inConfig = &(SIU.GPDI[0].R);\r
+//  vuint8_t * inConfig = &(SIU.GPDI[0].R); // Read only\r
 \r
   // Copy config to register areas\r
   memcpy((void *)outConfig, configType->outConfig, configType->outCnt);\r