⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ixparityenacc.h

📁 AMCC POWERPC 44X系列的U-BOOT文件
💻 H
📖 第 1 页 / 共 3 页
字号:
 *         @li IX_PARITYENACC_NOT_INITIALISED - The operation requested prior to *             the initialisation of the access layer. */PUBLIC IxParityENAccStatus ixParityENAccParityDetectionConfigure (           const IxParityENAccHWParityConfig *hwParityConfig);/** * @ingroup IxParityENAcc * * @fn IxParityENAccStatus ixParityENAccParityDetectionQuery (           IxParityENAccHWParityConfig * const hwParityConfig) * * @brief This interface allows the client application to determine the  * status of the parity error detection on the specified hardware blocks * * @param hwParityConfig [out] - Hardware blocks whose parity error detection  * has been enabled or disabled. * * The client application allocates and provides the reference to the buffer. * * This interface can be used immediately after the interface @ref * ixParityENAccParityDetectionConfigure to see on which of the hardware blocks * the parity error detection has either been enabled or disabled based on the * client application request. * * @li   Re-entrant   : No * @li   ISR Callable : No * * @return @li IX_PARITYENACC_SUCCESS - The parameters check passed and the  *             request to query on whether the hardware parity error detection *             is enabled or disabled is successful. *         @li IX_PARITYENACC_INVALID_PARAMETERS-The request failed due to   *             NULL parameter or invalid values supplied. *         @li IX_PARITYENACC_NOT_INITIALISED - The operation requested prior  *             to the initialisation of the access layer. */PUBLIC IxParityENAccStatus ixParityENAccParityDetectionQuery(           IxParityENAccHWParityConfig * const hwParityConfig);/** * @ingroup IxParityENAcc * * @fn IxParityENAccStatus ixParityENAccParityErrorContextGet(            IxParityENAccParityErrorContextMessage * const pecMessage) * * @brief This interface allows the client application to determine the  * status of the parity error context on hardware block for which the * current parity error interrupt triggered. * * @param pecMessage [out] - The parity error context information of the * parity interrupt currently being process. * * The client application allocates and provides the reference to the buffer. * * Refer to the data structure @ref IxParityENAccParityErrorContextMessage * for details. * * The routine will will fetch the parity error context in the following * priority, if multiple parity errors observed. *  * <pre> * 0 - MCU (Multi-bit and single-bit in that order) * 1 - NPE-A * 2 - NPE-B * 3 - NPE-C * 4 - SWCP * 5 - QM * 6 - EXP * * NOTE: The information provided in the @ref IxParityENAccAHBErrorTransaction * may be of help for the client application to decide on the course of action  * to take. This info is taken from the Performance Monitoring Unit register * which records most recent error observed on the AHB bus. This information * might have been overwritten by some other error by the time it is retrieved. * </pre> * * @li   Re-entrant   : No * @li   ISR Callable : Yes * * @return @li IX_PARITYENACC_SUCCESS-The parameters check passed and the  *             request to get the parity error context information is successful. *         @li IX_PARITYENACC_INVALID_PARAMETERS-The request failed due to   *             NULL parameter is passed *         @li IX_PARITYENACC_OPERATION_FAILED - The request failed because  *             the operation didn't succeed on the hardware. *         @li IX_PARITYENACC_NOT_INITIALISED - The operation requested prior *             to the initialisation of the access layer. *         @li IX_PARITYENACC_NO_PARITY - No parity condition exits or has  *             already been cleared */PUBLIC IxParityENAccStatus ixParityENAccParityErrorContextGet(            IxParityENAccParityErrorContextMessage * const pecMessage);/** * @ingroup IxParityENAcc * * @fn IxParityENAccStatus ixParityENAccParityErrorInterruptClear (          const IxParityENAccParityErrorContextMessage *pecMessage) * * @brief This interface helps the client application to clear off the * interrupt condition on the hardware block identified in the parity * error context message.  Please refer to the table below as the operation * varies depending on the interrupt source. *  * @param pecMessage [in] - The parity error context information of the * hardware block whose parity error interrupt condition is to disabled. * * The client application allocates and provides the reference to the buffer. * * <pre> * **************************************************************************** * Following actions will be taken during the interrupt clear for respective * hardware blocks. *  *  Parity Source     Actions taken during Interrupt clear  *  -------------     ------------------------------------------------------- *  NPE-A             Interrupt will be masked off at the interrupt controller  *                    so that it will not trigger continuously. *                      Client application has to take appropriate action and  *                      re-configure the parity error detection subsequently.  *                      The client application will not be notified of further  *                      interrupts, until the re-configuration is done using *                      @ref ixParityENAccParityDetectionConfigure. * *  NPE-B             Interrupt will be masked off at the interrupt controller  *                    so that it will not trigger continuously. *                      Client application has to take appropriate action and  *                      re-configure the parity error detection subsequently.  *                      The client application will not be notified of further *                      interrupts, until the re-configuration is done using *                      @ref ixParityENAccParityDetectionConfigure. * *  NPE-C             Interrupt will be masked off at the interrupt controller  *                      Client application has to take appropriate action and  *                      re-configure the parity error detection subsequently.  *                      The client application will not be notified of further *                      interrupts, until the re-configuration is done using *                      @ref ixParityENAccParityDetectionConfigure. * *  SWCP              Interrupt will be masked off at the interrupt controller. *                      Client application has to take appropriate action and  *                      re-configure the parity error detection subsequently.  *                      The client application will not be notified of further *                      interrupts, until the re-configuration is done using *                      @ref ixParityENAccParityDetectionConfigure. * *  AQM               Interrupt will be masked off at the interrupt controller. *                         Client application has to take appropriate action and  *                         re-configure the parity error detection subsequently.  *                         The client application will not be notified of further *                         interrupts, until the re-configuration is done using *                         @ref ixParityENAccParityDetectionConfigure. * *  MCU               Parity interrupt condition is cleared at the SDRAM MCU for  *                    the following: *                    1. Single-bit *                    2. Multi-bit *                    3. Overflow condition i.e., more than two parity conditions  *                       occurred *                    Note that single-parity errors do not result in data abort *                    and not all data aborts caused by multi-bit parity error. * *  EXP               Parity interrupt condition is cleared at the expansion bus  *                    controller for the following: *                    1. External master initiated Inbound write *                    2. Internal master (IXP400) initiated Outbound read * **************************************************************************** * </pre> * @li   Re-entrant   : No * @li   ISR Callable : No * * @return @li IX_PARITYENACC_SUCCESS-The parameters check passed and the request *             to clear the parity error interrupt condition is successful. *         @li IX_PARITYENACC_INVALID_PARAMETERS-The request failed due to  *             NULL parameters have been passed or contents have been *             supplied with invalid values. *         @li IX_PARITYENACC_OPERATION_FAILED - The request failed because  *             the operation didn't succeed on the hardware. *         @li IX_PARITYENACC_NOT_INITIALISED - The operation requested prior *             to the initialisation of the access layer. */PUBLIC IxParityENAccStatus ixParityENAccParityErrorInterruptClear (          const IxParityENAccParityErrorContextMessage *pecMessage);/** * @ingroup IxParityENAcc * * @fn IxParityENAccStatus ixParityENAccStatsGet (            IxParityENAccParityErrorStats * const ixParityErrorStats) * * @brief This interface allows the client application to retrieve parity  * error statistics for all the hardware blocks  * * @param ixParityErrorStats - [out] The statistics for all the hardware blocks. * * The client application allocates and provides the reference to the buffer. * * @li   Re-entrant   : No * @li   ISR Callable : Yes * * @return @li IX_PARITYENACC_SUCCESS-The parameters check passed and the  *             request to retrieve parity error statistics for the hardware *             block is successful. *         @li IX_PARITYENACC_INVALID_PARAMETERS-The request failed due to a *             NULL parameter passed. *         @li IX_PARITYENACC_NOT_INITIALISED - The operation requested prior *             to the initialisation of the access layer. */PUBLIC IxParityENAccStatus ixParityENAccStatsGet (            IxParityENAccParityErrorStats * const ixParityErrorStats);/** * @ingroup IxParityENAcc * * @fn IxParityENAccStatus ixParityENAccStatsShow (void) * * @brief This interface allows the client application to print all the * parity error statistics. * * @li   Re-entrant   : No * @li   ISR Callable : No * * @return @li IX_PARITYENACC_SUCCESS - The request to show the pairty  *             error statistics is successful. *         @li IX_PARITYENACC_NOT_INITIALISED - The operation requested *             prior to the initialisation of the access layer. */PUBLIC IxParityENAccStatus ixParityENAccStatsShow (void);/** * @ingroup IxParityENAcc * * @fn IxParityENAccStatus ixParityENAccStatsReset (void) * * @brief This interface allows the client application to reset all the  * parity error statistics. * * @li   Re-entrant   : No * @li   ISR Callable : No * * @return @li IX_PARITYENACC_SUCCESS - The request to reset the parity  *             error statistics is successful. *         @li IX_PARITYENACC_NOT_INITIALISED - The operation requested  *             prior to the initialisation of the access layer. */PUBLIC IxParityENAccStatus ixParityENAccStatsReset (void);#endif /* IXPARITYENACC_H */#endif /* __ixp46X *//** * @} defgroup IxParityENAcc */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -