Permalink
Browse files

Updated drv/stm32cube to latest STM32Cube FW F4 V1.13.0

  • Loading branch information...
bvernoux committed Oct 2, 2016
1 parent b664195 commit e1705c045727ecfc223cac9c3dfdad26cd1efc48
Showing with 81,149 additions and 33,555 deletions.
  1. +3,123 −0 drv/stm32cube/inc/Legacy/stm32_hal_legacy.h
  2. +148 −77 drv/stm32cube/inc/stm32f4xx_hal.h
  3. +467 −352 drv/stm32cube/inc/stm32f4xx_hal_adc.h
  4. +234 −109 drv/stm32cube/inc/stm32f4xx_hal_adc_ex.h
  5. +285 −289 drv/stm32cube/inc/stm32f4xx_hal_can.h
  6. +747 −0 drv/stm32cube/inc/stm32f4xx_hal_cec.h
  7. +346 −42 drv/stm32cube/inc/stm32f4xx_hal_cortex.h
  8. +126 −22 drv/stm32cube/inc/stm32f4xx_hal_crc.h
  9. +222 −89 drv/stm32cube/inc/stm32f4xx_hal_cryp.h
  10. +97 −22 drv/stm32cube/inc/stm32f4xx_hal_cryp_ex.h
  11. +168 −86 drv/stm32cube/inc/stm32f4xx_hal_dac.h
  12. +67 −50 drv/stm32cube/inc/stm32f4xx_hal_dac_ex.h
  13. +225 −186 drv/stm32cube/inc/stm32f4xx_hal_dcmi.h
  14. +230 −0 drv/stm32cube/inc/stm32f4xx_hal_dcmi_ex.h
  15. +32 −16 drv/stm32cube/inc/stm32f4xx_hal_def.h
  16. +691 −0 drv/stm32cube/inc/stm32f4xx_hal_dfsdm.h
  17. +252 −156 drv/stm32cube/inc/stm32f4xx_hal_dma.h
  18. +295 −222 drv/stm32cube/inc/stm32f4xx_hal_dma2d.h
  19. +40 −10 drv/stm32cube/inc/stm32f4xx_hal_dma_ex.h
  20. +1,242 −0 drv/stm32cube/inc/stm32f4xx_hal_dsi.h
  21. +880 −936 drv/stm32cube/inc/stm32f4xx_hal_eth.h
  22. +169 −90 drv/stm32cube/inc/stm32f4xx_hal_flash.h
  23. +612 −387 drv/stm32cube/inc/stm32f4xx_hal_flash_ex.h
  24. +22 −9 drv/stm32cube/inc/stm32f4xx_hal_flash_ramfunc.h
  25. +719 −0 drv/stm32cube/inc/stm32f4xx_hal_fmpi2c.h
  26. +163 −0 drv/stm32cube/inc/stm32f4xx_hal_fmpi2c_ex.h
  27. +132 −76 drv/stm32cube/inc/stm32f4xx_hal_gpio.h
  28. +1,021 −397 drv/stm32cube/inc/stm32f4xx_hal_gpio_ex.h
  29. +210 −90 drv/stm32cube/inc/stm32f4xx_hal_hash.h
  30. +109 −14 drv/stm32cube/inc/stm32f4xx_hal_hash_ex.h
  31. +138 −100 drv/stm32cube/inc/stm32f4xx_hal_hcd.h
  32. +322 −132 drv/stm32cube/inc/stm32f4xx_hal_i2c.h
  33. +50 −24 drv/stm32cube/inc/stm32f4xx_hal_i2c_ex.h
  34. +169 −120 drv/stm32cube/inc/stm32f4xx_hal_i2s.h
  35. +132 −7 drv/stm32cube/inc/stm32f4xx_hal_i2s_ex.h
  36. +261 −110 drv/stm32cube/inc/stm32f4xx_hal_irda.h
  37. +113 −118 drv/stm32cube/inc/stm32f4xx_hal_iwdg.h
  38. +763 −0 drv/stm32cube/inc/stm32f4xx_hal_lptim.h
  39. +218 −140 drv/stm32cube/inc/stm32f4xx_hal_ltdc.h
  40. +151 −0 drv/stm32cube/inc/stm32f4xx_hal_ltdc_ex.h
  41. +140 −72 drv/stm32cube/inc/stm32f4xx_hal_nand.h
  42. +135 −73 drv/stm32cube/inc/stm32f4xx_hal_nor.h
  43. +150 −69 drv/stm32cube/inc/stm32f4xx_hal_pccard.h
  44. +173 −111 drv/stm32cube/inc/stm32f4xx_hal_pcd.h
  45. +61 −6 drv/stm32cube/inc/stm32f4xx_hal_pcd_ex.h
  46. +223 −111 drv/stm32cube/inc/stm32f4xx_hal_pwr.h
  47. +221 −48 drv/stm32cube/inc/stm32f4xx_hal_pwr_ex.h
  48. +784 −0 drv/stm32cube/inc/stm32f4xx_hal_qspi.h
  49. +886 −639 drv/stm32cube/inc/stm32f4xx_hal_rcc.h
  50. +6,117 −692 drv/stm32cube/inc/stm32f4xx_hal_rcc_ex.h
  51. +203 −56 drv/stm32cube/inc/stm32f4xx_hal_rng.h
  52. +390 −323 drv/stm32cube/inc/stm32f4xx_hal_rtc.h
  53. +599 −285 drv/stm32cube/inc/stm32f4xx_hal_rtc_ex.h
  54. +478 −370 drv/stm32cube/inc/stm32f4xx_hal_sai.h
  55. +102 −0 drv/stm32cube/inc/stm32f4xx_hal_sai_ex.h
  56. +270 −174 drv/stm32cube/inc/stm32f4xx_hal_sd.h
  57. +63 −17 drv/stm32cube/inc/stm32f4xx_hal_sdram.h
  58. +307 −123 drv/stm32cube/inc/stm32f4xx_hal_smartcard.h
  59. +555 −0 drv/stm32cube/inc/stm32f4xx_hal_spdifrx.h
  60. +266 −171 drv/stm32cube/inc/stm32f4xx_hal_spi.h
  61. +76 −21 drv/stm32cube/inc/stm32f4xx_hal_sram.h
  62. +633 −511 drv/stm32cube/inc/stm32f4xx_hal_tim.h
  63. +161 −50 drv/stm32cube/inc/stm32f4xx_hal_tim_ex.h
  64. +318 −143 drv/stm32cube/inc/stm32f4xx_hal_uart.h
  65. +214 −116 drv/stm32cube/inc/stm32f4xx_hal_usart.h
  66. +129 −114 drv/stm32cube/inc/stm32f4xx_hal_wwdg.h
  67. +609 −567 drv/stm32cube/inc/stm32f4xx_ll_fmc.h
  68. +438 −437 drv/stm32cube/inc/stm32f4xx_ll_fsmc.h
  69. +130 −184 drv/stm32cube/inc/stm32f4xx_ll_sdmmc.h
  70. +152 −134 drv/stm32cube/inc/stm32f4xx_ll_usb.h
  71. +64 −68 drv/stm32cube/src/stm32f4xx_hal.c
  72. +906 −530 drv/stm32cube/src/stm32f4xx_hal_adc.c
  73. +448 −219 drv/stm32cube/src/stm32f4xx_hal_adc_ex.c
  74. +226 −205 drv/stm32cube/src/stm32f4xx_hal_can.c
  75. +670 −0 drv/stm32cube/src/stm32f4xx_hal_cec.c
  76. +107 −46 drv/stm32cube/src/stm32f4xx_hal_cortex.c
  77. +28 −21 drv/stm32cube/src/stm32f4xx_hal_crc.c
  78. +1,976 −1,937 drv/stm32cube/src/stm32f4xx_hal_cryp.c
  79. +985 −962 drv/stm32cube/src/stm32f4xx_hal_cryp_ex.c
  80. +232 −213 drv/stm32cube/src/stm32f4xx_hal_dac.c
  81. +98 −90 drv/stm32cube/src/stm32f4xx_hal_dac_ex.c
  82. +300 −237 drv/stm32cube/src/stm32f4xx_hal_dcmi.c
  83. +199 −0 drv/stm32cube/src/stm32f4xx_hal_dcmi_ex.c
  84. +2,988 −0 drv/stm32cube/src/stm32f4xx_hal_dfsdm.c
  85. +775 −366 drv/stm32cube/src/stm32f4xx_hal_dma.c
  86. +1,116 −647 drv/stm32cube/src/stm32f4xx_hal_dma2d.c
  87. +125 −86 drv/stm32cube/src/stm32f4xx_hal_dma_ex.c
  88. +2,261 −0 drv/stm32cube/src/stm32f4xx_hal_dsi.c
  89. +246 −177 drv/stm32cube/src/stm32f4xx_hal_eth.c
  90. +164 −138 drv/stm32cube/src/stm32f4xx_hal_flash.c
  91. +234 −176 drv/stm32cube/src/stm32f4xx_hal_flash_ex.c
  92. +21 −27 drv/stm32cube/src/stm32f4xx_hal_flash_ramfunc.c
  93. +4,790 −0 drv/stm32cube/src/stm32f4xx_hal_fmpi2c.c
  94. +258 −0 drv/stm32cube/src/stm32f4xx_hal_fmpi2c_ex.c
  95. +145 −132 drv/stm32cube/src/stm32f4xx_hal_gpio.c
  96. +365 −323 drv/stm32cube/src/stm32f4xx_hal_hash.c
  97. +322 −293 drv/stm32cube/src/stm32f4xx_hal_hash_ex.c
  98. +217 −181 drv/stm32cube/src/stm32f4xx_hal_hcd.c
  99. +2,894 −1,240 drv/stm32cube/src/stm32f4xx_hal_i2c.c
  100. +63 −63 drv/stm32cube/src/stm32f4xx_hal_i2c_ex.c
  101. +142 −401 drv/stm32cube/src/stm32f4xx_hal_i2s.c
  102. +790 −64 drv/stm32cube/src/stm32f4xx_hal_i2s_ex.c
  103. +549 −498 drv/stm32cube/src/stm32f4xx_hal_irda.c
  104. +112 −209 drv/stm32cube/src/stm32f4xx_hal_iwdg.c
  105. +1,696 −0 drv/stm32cube/src/stm32f4xx_hal_lptim.c
  106. +840 −112 drv/stm32cube/src/stm32f4xx_hal_ltdc.c
  107. +164 −0 drv/stm32cube/src/stm32f4xx_hal_ltdc_ex.c
  108. +264 −190 drv/stm32cube/src/stm32f4xx_hal_nand.c
  109. +208 −141 drv/stm32cube/src/stm32f4xx_hal_nor.c
  110. +159 −136 drv/stm32cube/src/stm32f4xx_hal_pccard.c
  111. +362 −180 drv/stm32cube/src/stm32f4xx_hal_pcd.c
  112. +198 −28 drv/stm32cube/src/stm32f4xx_hal_pcd_ex.c
  113. +144 −83 drv/stm32cube/src/stm32f4xx_hal_pwr.c
  114. +224 −57 drv/stm32cube/src/stm32f4xx_hal_pwr_ex.c
  115. +2,423 −0 drv/stm32cube/src/stm32f4xx_hal_qspi.c
  116. +192 −277 drv/stm32cube/src/stm32f4xx_hal_rcc.c
  117. +2,161 −112 drv/stm32cube/src/stm32f4xx_hal_rcc_ex.c
  118. +224 −126 drv/stm32cube/src/stm32f4xx_hal_rng.c
  119. +181 −162 drv/stm32cube/src/stm32f4xx_hal_rtc.c
  120. +205 −132 drv/stm32cube/src/stm32f4xx_hal_rtc_ex.c
  121. +1,506 −687 drv/stm32cube/src/stm32f4xx_hal_sai.c
  122. +278 −0 drv/stm32cube/src/stm32f4xx_hal_sai_ex.c
  123. +460 −364 drv/stm32cube/src/stm32f4xx_hal_sd.c
  124. +39 −32 drv/stm32cube/src/stm32f4xx_hal_sdram.c
  125. +454 −490 drv/stm32cube/src/stm32f4xx_hal_smartcard.c
  126. +1,298 −0 drv/stm32cube/src/stm32f4xx_hal_spdifrx.c
  127. +1,907 −1,416 drv/stm32cube/src/stm32f4xx_hal_spi.c
  128. +37 −25 drv/stm32cube/src/stm32f4xx_hal_sram.c
  129. +1,736 −1,483 drv/stm32cube/src/stm32f4xx_hal_tim.c
  130. +552 −526 drv/stm32cube/src/stm32f4xx_hal_tim_ex.c
  131. +794 −753 drv/stm32cube/src/stm32f4xx_hal_uart.c
  132. +653 −453 drv/stm32cube/src/stm32f4xx_hal_usart.c
  133. +127 −262 drv/stm32cube/src/stm32f4xx_hal_wwdg.c
  134. +650 −215 drv/stm32cube/src/stm32f4xx_ll_fmc.c
  135. +323 −154 drv/stm32cube/src/stm32f4xx_ll_fsmc.c
  136. +27 −30 drv/stm32cube/src/stm32f4xx_ll_sdmmc.c
  137. +268 −245 drv/stm32cube/src/stm32f4xx_ll_usb.c
  138. +5,048 −4,903 drv/stm32cube/stm32f405xx.h
  139. +131 −84 drv/stm32cube/stm32f4xx_hal_conf.h
  140. +20 −34 drv/stm32cube/stm32f4xx_hal_msp.c
  141. +6 −19 drv/stm32cube/stm32f4xx_it.c

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -2,13 +2,13 @@
******************************************************************************
* @file stm32f4xx_hal_crc.h
* @author MCD Application Team
* @version V1.1.0
* @date 19-June-2014
* @version V1.5.1
* @date 01-July-2016
* @brief Header file of CRC HAL module.
******************************************************************************
* @attention
*
* <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
@@ -50,27 +50,34 @@
* @{
*/
/** @addtogroup CRC
/** @defgroup CRC CRC
* @brief CRC HAL module driver
* @{
*/
*/
/* Exported types ------------------------------------------------------------*/
/** @defgroup CRC_Exported_Types CRC Exported Types
* @{
*/
/**
* @brief CRC HAL State Structure definition
*/
/** @defgroup CRC_Exported_Types_Group1 CRC State Structure definition
* @{
*/
typedef enum
{
HAL_CRC_STATE_RESET = 0x00, /*!< CRC not yet initialized or disabled */
HAL_CRC_STATE_READY = 0x01, /*!< CRC initialized and ready for use */
HAL_CRC_STATE_BUSY = 0x02, /*!< CRC internal process is ongoing */
HAL_CRC_STATE_TIMEOUT = 0x03, /*!< CRC timeout state */
HAL_CRC_STATE_ERROR = 0x04 /*!< CRC error state */
HAL_CRC_STATE_RESET = 0x00U, /*!< CRC not yet initialized or disabled */
HAL_CRC_STATE_READY = 0x01U, /*!< CRC initialized and ready for use */
HAL_CRC_STATE_BUSY = 0x02U, /*!< CRC internal process is ongoing */
HAL_CRC_STATE_TIMEOUT = 0x03U, /*!< CRC timeout state */
HAL_CRC_STATE_ERROR = 0x04U /*!< CRC error state */
}HAL_CRC_StateTypeDef;
/**
* @brief CRC handle Structure definition
* @}
*/
/** @defgroup CRC_Exported_Types_Group2 CRC Handle Structure definition
* @{
*/
typedef struct
{
@@ -81,11 +88,21 @@ typedef struct
__IO HAL_CRC_StateTypeDef State; /*!< CRC communication state */
}CRC_HandleTypeDef;
/**
* @}
*/
/**
* @}
*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/** @defgroup CRC_Exported_Macros CRC Exported Macros
* @{
*/
/** @brief Reset CRC handle state
/** @brief Resets CRC handle state
* @param __HANDLE__: CRC handle
* @retval None
*/
@@ -101,41 +118,128 @@ typedef struct
/**
* @brief Stores a 8-bit data in the Independent Data(ID) register.
* @param __HANDLE__: CRC handle
* @param __VALUE: 8-bit value to be stored in the ID register
* @param __VALUE__: 8-bit value to be stored in the ID register
* @retval None
*/
#define __HAL_CRC_SET_IDR(__HANDLE__, __VALUE__) (MODIFY_REG((__HANDLE__)->Instance->IDR, CRC_IDR_IDR, (__VALUE__))
#define __HAL_CRC_SET_IDR(__HANDLE__, __VALUE__) (WRITE_REG((__HANDLE__)->Instance->IDR, (__VALUE__)))
/**
* @brief Returns the 8-bit data stored in the Independent Data(ID) register.
* @param __HANDLE__: CRC handle
* @retval 8-bit value of the ID register
*/
#define __HAL_CRC_GET_IDR(__HANDLE__) (((__HANDLE__)->Instance->IDR) & CRC_IDR_IDR)
/**
* @}
*/
/* Exported functions --------------------------------------------------------*/
/** @defgroup CRC_Exported_Functions CRC Exported Functions
* @{
*/
/* Initialization/de-initialization functions **********************************/
/** @defgroup CRC_Exported_Functions_Group1 Initialization and de-initialization functions
* @{
*/
HAL_StatusTypeDef HAL_CRC_Init(CRC_HandleTypeDef *hcrc);
HAL_StatusTypeDef HAL_CRC_DeInit (CRC_HandleTypeDef *hcrc);
void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc);
void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc);
/**
* @}
*/
/* Peripheral Control functions ************************************************/
/** @defgroup CRC_Exported_Functions_Group2 Peripheral Control functions
* @{
*/
uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength);
uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength);
/**
* @}
*/
/* Peripheral State functions **************************************************/
/** @defgroup CRC_Exported_Functions_Group3 Peripheral State functions
* @{
*/
HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc);
/**
* @}
*/
/**
* @}
*/
/* Private types -------------------------------------------------------------*/
/** @defgroup CRC_Private_Types CRC Private Types
* @{
*/
/**
* @}
*/
/* Private defines -----------------------------------------------------------*/
/** @defgroup CRC_Private_Defines CRC Private Defines
* @{
*/
/**
* @}
*/
/* Private variables ---------------------------------------------------------*/
/** @defgroup CRC_Private_Variables CRC Private Variables
* @{
*/
/**
* @}
*/
/* Private constants ---------------------------------------------------------*/
/** @defgroup CRC_Private_Constants CRC Private Constants
* @{
*/
/**
* @}
*/
/* Private macros ------------------------------------------------------------*/
/** @defgroup CRC_Private_Macros CRC Private Macros
* @{
*/
/**
* @}
*/
/* Private functions prototypes ----------------------------------------------*/
/** @defgroup CRC_Private_Functions_Prototypes CRC Private Functions Prototypes
* @{
*/
/**
* @}
*/
/* Private functions ---------------------------------------------------------*/
/** @defgroup CRC_Private_Functions CRC Private Functions
* @{
*/
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#ifdef __cplusplus
}
#endif
Oops, something went wrong.

0 comments on commit e1705c0

Please sign in to comment.