LL PKA Functions

Configuration

group PKA_LL_EF_Configuration

Functions

void LL_PKA_Enable ( PKA_TypeDef * pkax )

Enable PKA peripheral.

Reference Manual to LL API cross reference (Register Field Functions)

CR EN LL_PKA_Enable

Parameters :

pkax – PKA Instance.

void LL_PKA_Disable ( PKA_TypeDef * pkax )

Disable PKA peripheral.

Reference Manual to LL API cross reference (Register Field Functions)

CR EN LL_PKA_Disable

Parameters :

pkax – PKA Instance.

uint32_t LL_PKA_IsEnabled ( const PKA_TypeDef * pkax )

Check if the PKA peripheral is enabled or disabled.

Reference Manual to LL API cross reference (Register Field Functions)

CR EN LL_PKA_IsEnabled

Parameters :

pkax – PKA Instance.

Return values :

State – of bit (1 or 0).

void LL_PKA_SetMode ( PKA_TypeDef * pkax , uint32_t mode )

Set PKA operating mode.

Reference Manual to LL API cross reference (Register Field Functions)

CR MODE LL_PKA_SetMode

Parameters :
uint32_t LL_PKA_GetMode ( const PKA_TypeDef * pkax )

Get PKA operating mode.

Reference Manual to LL API cross reference (Register Field Functions)

CR MODE LL_PKA_GetMode

Parameters :

pkax – PKA Instance.

Return values :

returned – value can be one of the following values:

void LL_PKA_Start ( PKA_TypeDef * pkax )

Start the operation selected using LL_PKA_SetMode.

Reference Manual to LL API cross reference (Register Field Functions)

CR START LL_PKA_Start

Parameters :

pkax – PKA Instance.

IT_Management

group PKA_LL_EF_IT_Management

Functions

void LL_PKA_EnableIT_ADDRERR ( PKA_TypeDef * pkax )

Enable address error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR ADDRERRIE LL_PKA_EnableIT_ADDRERR

Parameters :

pkax – PKA Instance.

void LL_PKA_EnableIT_RAMERR ( PKA_TypeDef * pkax )

Enable RAM error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR RAMERRIE LL_PKA_EnableIT_RAMERR

Parameters :

pkax – PKA Instance.

void LL_PKA_EnableIT_OPERR ( PKA_TypeDef * pkax )

Enable OPERATION error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR OPERRIE LL_PKA_EnableIT_OPERR

Parameters :

pkax – PKA Instance.

void LL_PKA_EnableIT_PROCEND ( PKA_TypeDef * pkax )

Enable end of operation interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR PROCENDIE LL_PKA_EnableIT_PROCEND

Parameters :

pkax – PKA Instance.

void LL_PKA_EnableIT ( PKA_TypeDef * pkax , uint32_t it_source )

Enable the specified PKA interrupt.

Parameters :
void LL_PKA_DisableIT_ADDERR ( PKA_TypeDef * pkax )

Disable address error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR ADDRERRIE LL_PKA_DisableIT_ADDERR

Parameters :

pkax – PKA Instance.

void LL_PKA_DisableIT_RAMERR ( PKA_TypeDef * pkax )

Disable RAM error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR RAMERRIE LL_PKA_DisableIT_RAMERR

Parameters :

pkax – PKA Instance.

void LL_PKA_DisableIT_PROCEND ( PKA_TypeDef * pkax )

Disable End of operation interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR PROCENDIE LL_PKA_DisableIT_PROCEND

Parameters :

pkax – PKA Instance.

void LL_PKA_DisableIT_OPERR ( PKA_TypeDef * pkax )

Disable OPERATION error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR OPERRIE LL_PKA_DisableIT_OPERR

Parameters :

pkax – PKA Instance.

void LL_PKA_DisableIT ( PKA_TypeDef * pkax , uint32_t it_source )

Disable the specified PKA interrupt.

Parameters :
uint32_t LL_PKA_IsEnabledIT_ADDRERR ( const PKA_TypeDef * pkax )

Check if address error interrupt is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CR ADDRERRIE LL_PKA_IsEnabledIT_ADDRERR

Parameters :

pkax – PKA Instance.

Return values :

State – of bit (1 or 0).

uint32_t LL_PKA_IsEnabledIT_RAMERR ( const PKA_TypeDef * pkax )

Check if RAM error interrupt is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CR RAMERRIE LL_PKA_IsEnabledIT_RAMERR

Parameters :

pkax – PKA Instance.

Return values :

State – of bit (1 or 0).

uint32_t LL_PKA_IsEnabledIT_OPERR ( const PKA_TypeDef * pkax )

Check if OPERATION error interrupt is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CR OPERRIE LL_PKA_IsEnabledIT_OPERR

Parameters :

pkax – PKA Instance.

Return values :

State – of bit (1 or 0).

uint32_t LL_PKA_IsEnabledIT_PROCEND ( const PKA_TypeDef * pkax )

Check if end of operation interrupt is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CR PROCENDIE LL_PKA_IsEnabledIT_PROCEND

Parameters :

pkax – PKA Instance.

Return values :

State – of bit (1 or 0).

PKA flag management

group PKA_LL_EF_FLAG_Management

Functions

uint32_t LL_PKA_IsActiveFlag_ADDRERR ( const PKA_TypeDef * pkax )

Get PKA address error flag.

Reference Manual to LL API cross reference (Register Field Functions)

SR ADDRERRF LL_PKA_IsActiveFlag_ADDRERR

Parameters :

pkax – PKA Instance.

Return values :

State – of bit (1 or 0).

uint32_t LL_PKA_IsActiveFlag_RAMERR ( const PKA_TypeDef * pkax )

Get PKA RAM error flag.

Reference Manual to LL API cross reference (Register Field Functions)

SR RAMERRF LL_PKA_IsActiveFlag_RAMERR

Parameters :

pkax – PKA Instance.

Return values :

State – of bit (1 or 0).

uint32_t LL_PKA_IsActiveFlag_OPERR ( const PKA_TypeDef * pkax )

Get PKA OPERATION error flag.

Reference Manual to LL API cross reference (Register Field Functions)

SR OPERRF LL_PKA_IsActiveFlag_OPERR

Parameters :

pkax – PKA Instance.

Return values :

State – of bit (1 or 0).

uint32_t LL_PKA_IsActiveFlag_PROCEND ( const PKA_TypeDef * pkax )

Get PKA end of operation flag.

Reference Manual to LL API cross reference (Register Field Functions)

SR PROCENDF LL_PKA_IsActiveFlag_PROCEND

Parameters :

pkax – PKA Instance.

Return values :

State – of bit (1 or 0).

uint32_t LL_PKA_IsActiveFlag_BUSY ( const PKA_TypeDef * pkax )

Get PKA busy flag.

Reference Manual to LL API cross reference (Register Field Functions)

SR BUSY LL_PKA_IsActiveFlag_BUSY

Parameters :

pkax – PKA Instance.

Return values :

State – of bit (1 or 0).

uint32_t LL_PKA_IsActiveFlag_INITOK ( const PKA_TypeDef * pkax )

Get PKA INITOK flag.

Reference Manual to LL API cross reference (Register Field Functions)

SR INITOK LL_PKA_IsActiveFlag_INITOK

Parameters :

pkax – PKA Instance.

Return values :

State – of bit (1 or 0).

uint32_t LL_PKA_IsActiveFlag ( const PKA_TypeDef * pkax , uint32_t flag )

Get PKA flag.

Reference Manual to LL API cross reference (Register Field Functions)

SR RAMERRF LL_PKA_IsActiveFlag_RAMERR

Parameters :
Return values :

State – of bit (1 or 0).

void LL_PKA_ClearFlag_ADDERR ( PKA_TypeDef * pkax )

Clear PKA address error flag.

Reference Manual to LL API cross reference (Register Field Functions)

CLRFR ADDRERRFC LL_PKA_ClearFlag_ADDERR

Parameters :

pkax – PKA Instance.

void LL_PKA_ClearFlag_RAMERR ( PKA_TypeDef * pkax )

Clear PKA RAM error flag.

Reference Manual to LL API cross reference (Register Field Functions)

CLRFR RAMERRFC LL_PKA_ClearFlag_RAMERR

Parameters :

pkax – PKA Instance.

void LL_PKA_ClearFlag_OPERR ( PKA_TypeDef * pkax )

Clear PKA OPERATION error flag.

Reference Manual to LL API cross reference (Register Field Functions)

CLRFR OPERRFC LL_PKA_ClearFlag_OPERR

Parameters :

pkax – PKA Instance.

void LL_PKA_ClearFlag_PROCEND ( PKA_TypeDef * pkax )

Clear PKA end of operation flag.

Reference Manual to LL API cross reference (Register Field Functions)

CLRFR PROCENDFC LL_PKA_ClearFlag_PROCEND

Parameters :

pkax – PKA Instance.

void LL_PKA_ClearFlag ( PKA_TypeDef * pkax , uint32_t clear_flag )

Clear the PKA pending flags which are cleared by writing 1 in a specific bit.

Parameters :