Macros
PKC Private Macros
Peripheral Driver » HAL Driver » PKC » Defines

## Macros
#define | IS_PKC_BITS_LENGTH(__BITS__) (((__BITS__) >= PKC_BITS_LENGTH_MIN) && ((__BITS__) <= PKC_BITS_LENGTH_MAX))
| Check if PKC Bits Length is valid. More...
#define | IS_PKC_BIGMULTI_BITS_LENGTH(__BITS__) (((__BITS__) >= PKC_BITS_LENGTH_MIN) && ((__BITS__) <= PKC_BIGMULTI_BITS_LENGTH_MAX))
| Check if PKC Big Number Multiplication Bits Length is valid. More...
#define | IS_PKC_SECURE_MODE(__MODE__)
| Check if PKC Secure Mode is valid. More...

## Detailed Description

## Macro Definition Documentation

## ◆ IS_PKC_BIGMULTI_BITS_LENGTH

#define IS_PKC_BIGMULTI_BITS_LENGTH | ( |  | __BITS__ | ) | (((__BITS__) >= PKC_BITS_LENGTH_MIN) && ((__BITS__) <= PKC_BIGMULTI_BITS_LENGTH_MAX))

Check if PKC Big Number Multiplication Bits Length is valid.

Parameters

  __BITS__ | PKC Big Number Multiplication Bits Length.

Return values

  SET | (__BITS__ is valid) or RESET (__BITS__ is invalid)

Definition at line 461 of file hal_pkc.h.

## ◆ IS_PKC_BITS_LENGTH

#define IS_PKC_BITS_LENGTH | ( |  | __BITS__ | ) | (((__BITS__) >= PKC_BITS_LENGTH_MIN) && ((__BITS__) <= PKC_BITS_LENGTH_MAX))

Check if PKC Bits Length is valid.

Parameters

  __BITS__ | PKC Bits Length.

Return values

  SET | (__BITS__ is valid) or RESET (__BITS__ is invalid)

Definition at line 455 of file hal_pkc.h.

## ◆ IS_PKC_SECURE_MODE

#define IS_PKC_SECURE_MODE | ( |  | __MODE__ | ) |

Value:
(((__MODE__) == PKC_SECURE_MODE_DISABLE) || \
((__MODE__) == PKC_SECURE_MODE_ENABLE))

Check if PKC Secure Mode is valid.

Parameters

  __MODE__ | PKC Secure Mode.

Return values

  SET | (__MODE__ is valid) or RESET (__MODE__ is invalid)

Definition at line 467 of file hal_pkc.h.

PKC_SECURE_MODE_ENABLE
#define PKC_SECURE_MODE_ENABLE
Definition: hal_pkc.h:308
PKC_SECURE_MODE_DISABLE
#define PKC_SECURE_MODE_DISABLE
Definition: hal_pkc.h:307