?login_element?

Subversion Repositories NedoOS

Rev

Rev 8 | Blame | Compare with Previous | Last modification | View Log | Download

  1. /**
  2.   ******************************************************************************
  3.   * @file    opora_iwdg_defs.h
  4.   * @author  Phyton Application Team
  5.   * @version V1.0.0
  6.   * @date
  7.   * @brief   This file contains all the Special Function Registers definitions
  8.   *          for the IWDG peripheral unit used in the Milandr OPORA
  9.   *          microcontrollers.
  10.   ******************************************************************************
  11.   * @copy
  12.   *
  13.   * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  14.   * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
  15.   * TIME. AS A RESULT, PHYTON SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT
  16.   * OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
  17.   * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
  18.   * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  19.   *
  20.   * <h2><center>&copy; COPYRIGHT 2010 Phyton</center></h2>
  21.   ******************************************************************************
  22.   * FILE opora_iwdg_defs.h
  23.   */
  24.  
  25. /* Define to prevent recursive inclusion -------------------------------------*/
  26. #ifndef __OPORA_IWDG_DEFS_H
  27. #define __OPORA_IWDG_DEFS_H
  28.  
  29. /** @addtogroup __CMSIS CMSIS
  30.   * @{
  31.   */
  32.  
  33. /** @addtogroup __OPORA_Peripheral_Units OPORA Peripheral Units
  34.   * @{
  35.   */
  36.  
  37. /** @defgroup Periph_IWDG IWDG
  38.   * @{
  39.   */
  40.  
  41. /** @defgroup Periph_IWDG_Data_Structures Data Structures
  42.   * @{
  43.   */
  44.  
  45. /** @defgroup Periph_IWDG_TypeDef IWDG_TypeDef
  46.   * @{
  47.   */
  48.  
  49. typedef struct {
  50.   __IO uint32_t KR;
  51.   __IO uint32_t PR;
  52.   __IO uint32_t PRL;
  53.   __IO uint32_t SR;
  54. } IWDG_TypeDef;
  55.  
  56. /** @} */ /* End of group Periph_IWDG_TypeDef */
  57.  
  58. /** @} */ /* End of group Periph_IWDG_Data_Structures */
  59.  
  60. /** @defgroup Periph_IWDG_Defines Defines
  61.   * @{
  62.   */
  63.  
  64. /** @defgroup Periph_IWDG_IWDG_SR_Bits IWDG_SR
  65.   * @{
  66.   */
  67.  
  68. #define IWDG_SR_PVU_OFFS                        0
  69. #define IWDG_SR_PVU                             ((uint32_t)0x00000001)
  70.  
  71. #define IWDG_SR_RVU_OFFS                        1
  72. #define IWDG_SR_RVU                             ((uint32_t)0x00000002)
  73.  
  74.  
  75. /** @} */ /* End of group Periph_IWDG_IWDG_SR_Bits */
  76.  
  77. /** @} */ /* End of group Periph_IWDG_Defines */
  78.  
  79. /** @} */ /* End of group Periph_IWDG */
  80.  
  81. /** @} */ /* End of group __OPORA_Peripheral_Units */
  82.  
  83. /** @} */ /* End of group __CMSIS */
  84.  
  85. #endif /* __OPORA_IWDG_DEFS_H */
  86.  
  87. /******************* (C) COPYRIGHT 2010 Phyton *********************************
  88. *
  89. * END OF FILE opora_iwdg_defs.h */
  90.