mirror of https://github.com/ARMmbed/mbed-os.git
Add the missing input parameter
parent
4edbde80b9
commit
974864adba
|
@ -125,7 +125,7 @@ uint32_t SYS_CPU_GetFreq(void);
|
||||||
* @returns E_NO_ERROR if everything is successful
|
* @returns E_NO_ERROR if everything is successful
|
||||||
*/
|
*/
|
||||||
int SYS_ADC_Init(void);
|
int SYS_ADC_Init(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System level initialization for AES module.
|
* @brief System level initialization for AES module.
|
||||||
* @returns E_NO_ERROR if everything is successful
|
* @returns E_NO_ERROR if everything is successful
|
||||||
|
@ -240,13 +240,13 @@ int SYS_SPIX_Init(const sys_cfg_spix_t *sys_cfg, uint32_t baud);
|
||||||
* @brief System level shutdown for SPIX module
|
* @brief System level shutdown for SPIX module
|
||||||
* @returns E_NO_ERROR if everything is successful
|
* @returns E_NO_ERROR if everything is successful
|
||||||
*/
|
*/
|
||||||
int SYS_SPIX_Shutdown();
|
int SYS_SPIX_Shutdown(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get the frequency of the SPIX module source clock
|
* @brief Get the frequency of the SPIX module source clock
|
||||||
* @returns frequency in Hz
|
* @returns frequency in Hz
|
||||||
*/
|
*/
|
||||||
uint32_t SYS_SPIX_GetFreq();
|
uint32_t SYS_SPIX_GetFreq(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System level initialization for SPIS module.
|
* @brief System level initialization for SPIS module.
|
||||||
|
@ -259,13 +259,13 @@ int SYS_SPIS_Init(const sys_cfg_spix_t *sys_cfg);
|
||||||
* @brief System level shutdown for SPIS module
|
* @brief System level shutdown for SPIS module
|
||||||
* @returns E_NO_ERROR if everything is successful
|
* @returns E_NO_ERROR if everything is successful
|
||||||
*/
|
*/
|
||||||
int SYS_SPIS_Shutdown();
|
int SYS_SPIS_Shutdown(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get the frequency of the SPIS module source clock
|
* @brief Get the frequency of the SPIS module source clock
|
||||||
* @returns frequency in Hz
|
* @returns frequency in Hz
|
||||||
*/
|
*/
|
||||||
uint32_t SYS_SPIS_GetFreq();
|
uint32_t SYS_SPIS_GetFreq(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System level initialization for OWM module.
|
* @brief System level initialization for OWM module.
|
||||||
|
@ -436,7 +436,7 @@ uint32_t SYS_SRAM_GetSize(void);
|
||||||
* @returns size of Flash in bytes
|
* @returns size of Flash in bytes
|
||||||
*/
|
*/
|
||||||
uint32_t SYS_FLASH_GetSize(void);
|
uint32_t SYS_FLASH_GetSize(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -92,50 +92,50 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
typedef sys_cfg_t sys_cfg_uart_t;
|
typedef sys_cfg_t sys_cfg_uart_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Structure type for I2CM System Configuration.
|
* Structure type for I2CM System Configuration.
|
||||||
* @ingroup i2cm
|
* @ingroup i2cm
|
||||||
*/
|
*/
|
||||||
typedef sys_cfg_t sys_cfg_i2cm_t;
|
typedef sys_cfg_t sys_cfg_i2cm_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Structure type for I2CS System Configuration.
|
* Structure type for I2CS System Configuration.
|
||||||
* @ingroup i2cs
|
* @ingroup i2cs
|
||||||
*/
|
*/
|
||||||
typedef sys_cfg_t sys_cfg_i2cs_t;
|
typedef sys_cfg_t sys_cfg_i2cs_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Structure type for SPIM System Configuration.
|
* Structure type for SPIM System Configuration.
|
||||||
* @ingroup spim
|
* @ingroup spim
|
||||||
*/
|
*/
|
||||||
typedef sys_cfg_t sys_cfg_spim_t;
|
typedef sys_cfg_t sys_cfg_spim_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Structure type for SPIX System Configuration.
|
* Structure type for SPIX System Configuration.
|
||||||
* @ingroup spix
|
* @ingroup spix
|
||||||
*/
|
*/
|
||||||
typedef sys_cfg_t sys_cfg_spix_t;
|
typedef sys_cfg_t sys_cfg_spix_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Structure type for OWM System Configuration.
|
* Structure type for OWM System Configuration.
|
||||||
* @ingroup owm
|
* @ingroup owm
|
||||||
*/
|
*/
|
||||||
typedef sys_cfg_t sys_cfg_owm_t;
|
typedef sys_cfg_t sys_cfg_owm_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Structure type for Timer System Configuration.
|
* Structure type for Timer System Configuration.
|
||||||
* @ingroup timer
|
* @ingroup timer
|
||||||
*/
|
*/
|
||||||
typedef gpio_cfg_t sys_cfg_tmr_t;
|
typedef gpio_cfg_t sys_cfg_tmr_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Structure type for Pulse Train System Configuration.
|
* Structure type for Pulse Train System Configuration.
|
||||||
* @ingroup pulsetrain
|
* @ingroup pulsetrain
|
||||||
*/
|
*/
|
||||||
typedef gpio_cfg_t sys_cfg_pt_t;
|
typedef gpio_cfg_t sys_cfg_pt_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Structure type for Pulse Train Clock Scale Configuration.
|
* Structure type for Pulse Train Clock Scale Configuration.
|
||||||
* @ingroup clkman
|
* @ingroup clkman
|
||||||
* @ingroup pulsetrain
|
* @ingroup pulsetrain
|
||||||
*/
|
*/
|
||||||
|
@ -168,7 +168,7 @@ uint32_t SYS_CPU_GetFreq(void);
|
||||||
* @ingroup adc
|
* @ingroup adc
|
||||||
*/
|
*/
|
||||||
int SYS_ADC_Init(void);
|
int SYS_ADC_Init(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System level initialization for the AES module.
|
* @brief System level initialization for the AES module.
|
||||||
* @return #E_NO_ERROR if everything is successful
|
* @return #E_NO_ERROR if everything is successful
|
||||||
|
@ -299,14 +299,14 @@ int SYS_SPIX_Init(const sys_cfg_spix_t *sys_cfg, uint32_t baud);
|
||||||
* @return #E_NO_ERROR if everything is successful
|
* @return #E_NO_ERROR if everything is successful
|
||||||
* @ingroup spix
|
* @ingroup spix
|
||||||
*/
|
*/
|
||||||
int SYS_SPIX_Shutdown();
|
int SYS_SPIX_Shutdown(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get the frequency of the SPIX module source clock
|
* @brief Get the frequency of the SPIX module source clock
|
||||||
* @return frequency in Hz
|
* @return frequency in Hz
|
||||||
* @ingroup spix
|
* @ingroup spix
|
||||||
*/
|
*/
|
||||||
uint32_t SYS_SPIX_GetFreq();
|
uint32_t SYS_SPIX_GetFreq(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System level initialization for OWM module.
|
* @brief System level initialization for OWM module.
|
||||||
|
|
Loading…
Reference in New Issue