STM32H735xx HAL User Manual
Functions
CORDIC Configuration functions
CORDIC Exported Functions

Functions

__STATIC_INLINE void LL_CORDIC_Config (CORDIC_TypeDef *CORDICx, uint32_t Function, uint32_t Precision, uint32_t Scale, uint32_t NbWrite, uint32_t NbRead, uint32_t InSize, uint32_t OutSize)
 Configure the CORDIC processing.
__STATIC_INLINE void LL_CORDIC_SetFunction (CORDIC_TypeDef *CORDICx, uint32_t Function)
 Configure function.
__STATIC_INLINE uint32_t LL_CORDIC_GetFunction (CORDIC_TypeDef *CORDICx)
 Return function.
__STATIC_INLINE void LL_CORDIC_SetPrecision (CORDIC_TypeDef *CORDICx, uint32_t Precision)
 Configure precision in cycles number.
__STATIC_INLINE uint32_t LL_CORDIC_GetPrecision (CORDIC_TypeDef *CORDICx)
 Return precision in cycles number.
__STATIC_INLINE void LL_CORDIC_SetScale (CORDIC_TypeDef *CORDICx, uint32_t Scale)
 Configure scaling factor.
__STATIC_INLINE uint32_t LL_CORDIC_GetScale (CORDIC_TypeDef *CORDICx)
 Return scaling factor.
__STATIC_INLINE void LL_CORDIC_SetNbWrite (CORDIC_TypeDef *CORDICx, uint32_t NbWrite)
 Configure number of 32-bit write expected for one calculation.
__STATIC_INLINE uint32_t LL_CORDIC_GetNbWrite (CORDIC_TypeDef *CORDICx)
 Return number of 32-bit write expected for one calculation.
__STATIC_INLINE void LL_CORDIC_SetNbRead (CORDIC_TypeDef *CORDICx, uint32_t NbRead)
 Configure number of 32-bit read expected after one calculation.
__STATIC_INLINE uint32_t LL_CORDIC_GetNbRead (CORDIC_TypeDef *CORDICx)
 Return number of 32-bit read expected after one calculation.
__STATIC_INLINE void LL_CORDIC_SetInSize (CORDIC_TypeDef *CORDICx, uint32_t InSize)
 Configure width of input data.
__STATIC_INLINE uint32_t LL_CORDIC_GetInSize (CORDIC_TypeDef *CORDICx)
 Return width of input data.
__STATIC_INLINE void LL_CORDIC_SetOutSize (CORDIC_TypeDef *CORDICx, uint32_t OutSize)
 Configure width of output data.
__STATIC_INLINE uint32_t LL_CORDIC_GetOutSize (CORDIC_TypeDef *CORDICx)
 Return width of output data.

Function Documentation

__STATIC_INLINE void LL_CORDIC_Config ( CORDIC_TypeDef *  CORDICx,
uint32_t  Function,
uint32_t  Precision,
uint32_t  Scale,
uint32_t  NbWrite,
uint32_t  NbRead,
uint32_t  InSize,
uint32_t  OutSize 
)

Configure the CORDIC processing.

Note:
This function set all parameters of CORDIC processing. These parameters can also be set individually using dedicated functions:
Reference Manual to LL API cross reference:
CSR FUNC LL_CORDIC_Configure
CSR PRECISION LL_CORDIC_Configure
CSR SCALE LL_CORDIC_Configure
CSR NARGS LL_CORDIC_Configure
CSR NRES LL_CORDIC_Configure
CSR ARGSIZE LL_CORDIC_Configure
CSR RESIZE LL_CORDIC_Configure
Parameters:
CORDICxCORDIC instance
Functionparameter can be one of the following values:
Precisionparameter can be one of the following values:
Scaleparameter can be one of the following values:
NbWriteparameter can be one of the following values:
NbReadparameter can be one of the following values:
InSizeparameter can be one of the following values:
OutSizeparameter can be one of the following values:
Return values:
None

Definition at line 302 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE uint32_t LL_CORDIC_GetFunction ( CORDIC_TypeDef *  CORDICx)

Return function.

Reference Manual to LL API cross reference:
CSR FUNC LL_CORDIC_GetFunction
Parameters:
CORDICxCORDIC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 350 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE uint32_t LL_CORDIC_GetInSize ( CORDIC_TypeDef *  CORDICx)

Return width of input data.

Reference Manual to LL API cross reference:
CSR ARGSIZE LL_CORDIC_GetInSize
Parameters:
CORDICxCORDIC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 523 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE uint32_t LL_CORDIC_GetNbRead ( CORDIC_TypeDef *  CORDICx)

Return number of 32-bit read expected after one calculation.

Reference Manual to LL API cross reference:
CSR NRES LL_CORDIC_GetNbRead
Parameters:
CORDICxCORDIC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 496 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE uint32_t LL_CORDIC_GetNbWrite ( CORDIC_TypeDef *  CORDICx)

Return number of 32-bit write expected for one calculation.

Reference Manual to LL API cross reference:
CSR NARGS LL_CORDIC_GetNbWrite
Parameters:
CORDICxCORDIC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 469 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE uint32_t LL_CORDIC_GetOutSize ( CORDIC_TypeDef *  CORDICx)

Return width of output data.

Reference Manual to LL API cross reference:
CSR RESIZE LL_CORDIC_GetOutSize
Parameters:
CORDICxCORDIC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 550 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE uint32_t LL_CORDIC_GetPrecision ( CORDIC_TypeDef *  CORDICx)
__STATIC_INLINE uint32_t LL_CORDIC_GetScale ( CORDIC_TypeDef *  CORDICx)

Return scaling factor.

Reference Manual to LL API cross reference:
CSR SCALE LL_CORDIC_GetScale
Parameters:
CORDICxCORDIC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 442 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE void LL_CORDIC_SetFunction ( CORDIC_TypeDef *  CORDICx,
uint32_t  Function 
)

Configure function.

Reference Manual to LL API cross reference:
CSR FUNC LL_CORDIC_SetFunction
Parameters:
CORDICxCORDIC Instance
Functionparameter can be one of the following values:
Return values:
None

Definition at line 329 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE void LL_CORDIC_SetInSize ( CORDIC_TypeDef *  CORDICx,
uint32_t  InSize 
)

Configure width of input data.

Reference Manual to LL API cross reference:
CSR ARGSIZE LL_CORDIC_SetInSize
Parameters:
CORDICxCORDIC Instance
InSizeparameter can be one of the following values:
Return values:
None

Definition at line 510 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE void LL_CORDIC_SetNbRead ( CORDIC_TypeDef *  CORDICx,
uint32_t  NbRead 
)

Configure number of 32-bit read expected after one calculation.

Reference Manual to LL API cross reference:
CSR NRES LL_CORDIC_SetNbRead
Parameters:
CORDICxCORDIC Instance
NbReadparameter can be one of the following values:
Return values:
None

Definition at line 483 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE void LL_CORDIC_SetNbWrite ( CORDIC_TypeDef *  CORDICx,
uint32_t  NbWrite 
)

Configure number of 32-bit write expected for one calculation.

Reference Manual to LL API cross reference:
CSR NARGS LL_CORDIC_SetNbWrite
Parameters:
CORDICxCORDIC Instance
NbWriteparameter can be one of the following values:
Return values:
None

Definition at line 456 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE void LL_CORDIC_SetOutSize ( CORDIC_TypeDef *  CORDICx,
uint32_t  OutSize 
)

Configure width of output data.

Reference Manual to LL API cross reference:
CSR RESIZE LL_CORDIC_SetOutSize
Parameters:
CORDICxCORDIC Instance
OutSizeparameter can be one of the following values:
Return values:
None

Definition at line 537 of file stm32h7xx_ll_cordic.h.

__STATIC_INLINE void LL_CORDIC_SetPrecision ( CORDIC_TypeDef *  CORDICx,
uint32_t  Precision 
)
__STATIC_INLINE void LL_CORDIC_SetScale ( CORDIC_TypeDef *  CORDICx,
uint32_t  Scale 
)

Configure scaling factor.

Reference Manual to LL API cross reference:
CSR SCALE LL_CORDIC_SetScale
Parameters:
CORDICxCORDIC Instance
Scaleparameter can be one of the following values:
Return values:
None

Definition at line 423 of file stm32h7xx_ll_cordic.h.