MAX32672 Peripheral Driver API
Peripheral Driver API for the MAX32672
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
CTB_CTRL

Macros

#define MXC_F_CTB_CTRL_RST_POS   0
 
#define MXC_F_CTB_CTRL_RST   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_RST_POS))
 
#define MXC_F_CTB_CTRL_INTR_POS   1
 
#define MXC_F_CTB_CTRL_INTR   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_INTR_POS))
 
#define MXC_F_CTB_CTRL_SRC_POS   2
 
#define MXC_F_CTB_CTRL_SRC   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_SRC_POS))
 
#define MXC_F_CTB_CTRL_BSO_POS   4
 
#define MXC_F_CTB_CTRL_BSO   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_BSO_POS))
 
#define MXC_F_CTB_CTRL_BSI_POS   5
 
#define MXC_F_CTB_CTRL_BSI   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_BSI_POS))
 
#define MXC_F_CTB_CTRL_WAIT_EN_POS   6
 
#define MXC_F_CTB_CTRL_WAIT_EN   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_WAIT_EN_POS))
 
#define MXC_F_CTB_CTRL_WAIT_POL_POS   7
 
#define MXC_F_CTB_CTRL_WAIT_POL   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_WAIT_POL_POS))
 
#define MXC_F_CTB_CTRL_WRSRC_POS   8
 
#define MXC_F_CTB_CTRL_WRSRC   ((uint32_t)(0x3UL << MXC_F_CTB_CTRL_WRSRC_POS))
 
#define MXC_V_CTB_CTRL_WRSRC_NONE   ((uint32_t)0x0UL)
 
#define MXC_S_CTB_CTRL_WRSRC_NONE   (MXC_V_CTB_CTRL_WRSRC_NONE << MXC_F_CTB_CTRL_WRSRC_POS)
 
#define MXC_V_CTB_CTRL_WRSRC_CIPHEROUTPUT   ((uint32_t)0x1UL)
 
#define MXC_S_CTB_CTRL_WRSRC_CIPHEROUTPUT   (MXC_V_CTB_CTRL_WRSRC_CIPHEROUTPUT << MXC_F_CTB_CTRL_WRSRC_POS)
 
#define MXC_V_CTB_CTRL_WRSRC_READFIFO   ((uint32_t)0x2UL)
 
#define MXC_S_CTB_CTRL_WRSRC_READFIFO   (MXC_V_CTB_CTRL_WRSRC_READFIFO << MXC_F_CTB_CTRL_WRSRC_POS)
 
#define MXC_F_CTB_CTRL_RDSRC_POS   10
 
#define MXC_F_CTB_CTRL_RDSRC   ((uint32_t)(0x3UL << MXC_F_CTB_CTRL_RDSRC_POS))
 
#define MXC_V_CTB_CTRL_RDSRC_DMADISABLED   ((uint32_t)0x0UL)
 
#define MXC_S_CTB_CTRL_RDSRC_DMADISABLED   (MXC_V_CTB_CTRL_RDSRC_DMADISABLED << MXC_F_CTB_CTRL_RDSRC_POS)
 
#define MXC_V_CTB_CTRL_RDSRC_DMAORAPB   ((uint32_t)0x1UL)
 
#define MXC_S_CTB_CTRL_RDSRC_DMAORAPB   (MXC_V_CTB_CTRL_RDSRC_DMAORAPB << MXC_F_CTB_CTRL_RDSRC_POS)
 
#define MXC_V_CTB_CTRL_RDSRC_RNG   ((uint32_t)0x2UL)
 
#define MXC_S_CTB_CTRL_RDSRC_RNG   (MXC_V_CTB_CTRL_RDSRC_RNG << MXC_F_CTB_CTRL_RDSRC_POS)
 
#define MXC_F_CTB_CTRL_FLAG_MODE_POS   14
 
#define MXC_F_CTB_CTRL_FLAG_MODE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_FLAG_MODE_POS))
 
#define MXC_F_CTB_CTRL_DMADNEMSK_POS   15
 
#define MXC_F_CTB_CTRL_DMADNEMSK   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_DMADNEMSK_POS))
 
#define MXC_F_CTB_CTRL_DMA_DONE_POS   24
 
#define MXC_F_CTB_CTRL_DMA_DONE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_DMA_DONE_POS))
 
#define MXC_F_CTB_CTRL_GLS_DONE_POS   25
 
#define MXC_F_CTB_CTRL_GLS_DONE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_GLS_DONE_POS))
 
#define MXC_F_CTB_CTRL_HSH_DONE_POS   26
 
#define MXC_F_CTB_CTRL_HSH_DONE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_HSH_DONE_POS))
 
#define MXC_F_CTB_CTRL_CPH_DONE_POS   27
 
#define MXC_F_CTB_CTRL_CPH_DONE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_CPH_DONE_POS))
 
#define MXC_F_CTB_CTRL_ERR_POS   29
 
#define MXC_F_CTB_CTRL_ERR   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_ERR_POS))
 
#define MXC_F_CTB_CTRL_RDY_POS   30
 
#define MXC_F_CTB_CTRL_RDY   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_RDY_POS))
 
#define MXC_F_CTB_CTRL_DONE_POS   31
 
#define MXC_F_CTB_CTRL_DONE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_DONE_POS))
 

Detailed Description

Crypto Control Register.

Macro Definition Documentation

◆ MXC_F_CTB_CTRL_BSI

#define MXC_F_CTB_CTRL_BSI   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_BSI_POS))

CTRL_BSI Mask

◆ MXC_F_CTB_CTRL_BSI_POS

#define MXC_F_CTB_CTRL_BSI_POS   5

CTRL_BSI Position

◆ MXC_F_CTB_CTRL_BSO

#define MXC_F_CTB_CTRL_BSO   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_BSO_POS))

CTRL_BSO Mask

◆ MXC_F_CTB_CTRL_BSO_POS

#define MXC_F_CTB_CTRL_BSO_POS   4

CTRL_BSO Position

◆ MXC_F_CTB_CTRL_CPH_DONE

#define MXC_F_CTB_CTRL_CPH_DONE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_CPH_DONE_POS))

CTRL_CPH_DONE Mask

◆ MXC_F_CTB_CTRL_CPH_DONE_POS

#define MXC_F_CTB_CTRL_CPH_DONE_POS   27

CTRL_CPH_DONE Position

◆ MXC_F_CTB_CTRL_DMA_DONE

#define MXC_F_CTB_CTRL_DMA_DONE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_DMA_DONE_POS))

CTRL_DMA_DONE Mask

◆ MXC_F_CTB_CTRL_DMA_DONE_POS

#define MXC_F_CTB_CTRL_DMA_DONE_POS   24

CTRL_DMA_DONE Position

◆ MXC_F_CTB_CTRL_DMADNEMSK

#define MXC_F_CTB_CTRL_DMADNEMSK   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_DMADNEMSK_POS))

CTRL_DMADNEMSK Mask

◆ MXC_F_CTB_CTRL_DMADNEMSK_POS

#define MXC_F_CTB_CTRL_DMADNEMSK_POS   15

CTRL_DMADNEMSK Position

◆ MXC_F_CTB_CTRL_DONE

#define MXC_F_CTB_CTRL_DONE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_DONE_POS))

CTRL_DONE Mask

◆ MXC_F_CTB_CTRL_DONE_POS

#define MXC_F_CTB_CTRL_DONE_POS   31

CTRL_DONE Position

◆ MXC_F_CTB_CTRL_ERR

#define MXC_F_CTB_CTRL_ERR   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_ERR_POS))

CTRL_ERR Mask

◆ MXC_F_CTB_CTRL_ERR_POS

#define MXC_F_CTB_CTRL_ERR_POS   29

CTRL_ERR Position

◆ MXC_F_CTB_CTRL_FLAG_MODE

#define MXC_F_CTB_CTRL_FLAG_MODE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_FLAG_MODE_POS))

CTRL_FLAG_MODE Mask

◆ MXC_F_CTB_CTRL_FLAG_MODE_POS

#define MXC_F_CTB_CTRL_FLAG_MODE_POS   14

CTRL_FLAG_MODE Position

◆ MXC_F_CTB_CTRL_GLS_DONE

#define MXC_F_CTB_CTRL_GLS_DONE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_GLS_DONE_POS))

CTRL_GLS_DONE Mask

◆ MXC_F_CTB_CTRL_GLS_DONE_POS

#define MXC_F_CTB_CTRL_GLS_DONE_POS   25

CTRL_GLS_DONE Position

◆ MXC_F_CTB_CTRL_HSH_DONE

#define MXC_F_CTB_CTRL_HSH_DONE   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_HSH_DONE_POS))

CTRL_HSH_DONE Mask

◆ MXC_F_CTB_CTRL_HSH_DONE_POS

#define MXC_F_CTB_CTRL_HSH_DONE_POS   26

CTRL_HSH_DONE Position

◆ MXC_F_CTB_CTRL_INTR

#define MXC_F_CTB_CTRL_INTR   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_INTR_POS))

CTRL_INTR Mask

◆ MXC_F_CTB_CTRL_INTR_POS

#define MXC_F_CTB_CTRL_INTR_POS   1

CTRL_INTR Position

◆ MXC_F_CTB_CTRL_RDSRC

#define MXC_F_CTB_CTRL_RDSRC   ((uint32_t)(0x3UL << MXC_F_CTB_CTRL_RDSRC_POS))

CTRL_RDSRC Mask

◆ MXC_F_CTB_CTRL_RDSRC_POS

#define MXC_F_CTB_CTRL_RDSRC_POS   10

CTRL_RDSRC Position

◆ MXC_F_CTB_CTRL_RDY

#define MXC_F_CTB_CTRL_RDY   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_RDY_POS))

CTRL_RDY Mask

◆ MXC_F_CTB_CTRL_RDY_POS

#define MXC_F_CTB_CTRL_RDY_POS   30

CTRL_RDY Position

◆ MXC_F_CTB_CTRL_RST

#define MXC_F_CTB_CTRL_RST   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_RST_POS))

CTRL_RST Mask

◆ MXC_F_CTB_CTRL_RST_POS

#define MXC_F_CTB_CTRL_RST_POS   0

CTRL_RST Position

◆ MXC_F_CTB_CTRL_SRC

#define MXC_F_CTB_CTRL_SRC   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_SRC_POS))

CTRL_SRC Mask

◆ MXC_F_CTB_CTRL_SRC_POS

#define MXC_F_CTB_CTRL_SRC_POS   2

CTRL_SRC Position

◆ MXC_F_CTB_CTRL_WAIT_EN

#define MXC_F_CTB_CTRL_WAIT_EN   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_WAIT_EN_POS))

CTRL_WAIT_EN Mask

◆ MXC_F_CTB_CTRL_WAIT_EN_POS

#define MXC_F_CTB_CTRL_WAIT_EN_POS   6

CTRL_WAIT_EN Position

◆ MXC_F_CTB_CTRL_WAIT_POL

#define MXC_F_CTB_CTRL_WAIT_POL   ((uint32_t)(0x1UL << MXC_F_CTB_CTRL_WAIT_POL_POS))

CTRL_WAIT_POL Mask

◆ MXC_F_CTB_CTRL_WAIT_POL_POS

#define MXC_F_CTB_CTRL_WAIT_POL_POS   7

CTRL_WAIT_POL Position

◆ MXC_F_CTB_CTRL_WRSRC

#define MXC_F_CTB_CTRL_WRSRC   ((uint32_t)(0x3UL << MXC_F_CTB_CTRL_WRSRC_POS))

CTRL_WRSRC Mask

◆ MXC_F_CTB_CTRL_WRSRC_POS

#define MXC_F_CTB_CTRL_WRSRC_POS   8

CTRL_WRSRC Position

◆ MXC_S_CTB_CTRL_RDSRC_DMADISABLED

#define MXC_S_CTB_CTRL_RDSRC_DMADISABLED   (MXC_V_CTB_CTRL_RDSRC_DMADISABLED << MXC_F_CTB_CTRL_RDSRC_POS)

CTRL_RDSRC_DMADISABLED Setting

◆ MXC_S_CTB_CTRL_RDSRC_DMAORAPB

#define MXC_S_CTB_CTRL_RDSRC_DMAORAPB   (MXC_V_CTB_CTRL_RDSRC_DMAORAPB << MXC_F_CTB_CTRL_RDSRC_POS)

CTRL_RDSRC_DMAORAPB Setting

◆ MXC_S_CTB_CTRL_RDSRC_RNG

#define MXC_S_CTB_CTRL_RDSRC_RNG   (MXC_V_CTB_CTRL_RDSRC_RNG << MXC_F_CTB_CTRL_RDSRC_POS)

CTRL_RDSRC_RNG Setting

◆ MXC_S_CTB_CTRL_WRSRC_CIPHEROUTPUT

#define MXC_S_CTB_CTRL_WRSRC_CIPHEROUTPUT   (MXC_V_CTB_CTRL_WRSRC_CIPHEROUTPUT << MXC_F_CTB_CTRL_WRSRC_POS)

CTRL_WRSRC_CIPHEROUTPUT Setting

◆ MXC_S_CTB_CTRL_WRSRC_NONE

#define MXC_S_CTB_CTRL_WRSRC_NONE   (MXC_V_CTB_CTRL_WRSRC_NONE << MXC_F_CTB_CTRL_WRSRC_POS)

CTRL_WRSRC_NONE Setting

◆ MXC_S_CTB_CTRL_WRSRC_READFIFO

#define MXC_S_CTB_CTRL_WRSRC_READFIFO   (MXC_V_CTB_CTRL_WRSRC_READFIFO << MXC_F_CTB_CTRL_WRSRC_POS)

CTRL_WRSRC_READFIFO Setting

◆ MXC_V_CTB_CTRL_RDSRC_DMADISABLED

#define MXC_V_CTB_CTRL_RDSRC_DMADISABLED   ((uint32_t)0x0UL)

CTRL_RDSRC_DMADISABLED Value

◆ MXC_V_CTB_CTRL_RDSRC_DMAORAPB

#define MXC_V_CTB_CTRL_RDSRC_DMAORAPB   ((uint32_t)0x1UL)

CTRL_RDSRC_DMAORAPB Value

◆ MXC_V_CTB_CTRL_RDSRC_RNG

#define MXC_V_CTB_CTRL_RDSRC_RNG   ((uint32_t)0x2UL)

CTRL_RDSRC_RNG Value

◆ MXC_V_CTB_CTRL_WRSRC_CIPHEROUTPUT

#define MXC_V_CTB_CTRL_WRSRC_CIPHEROUTPUT   ((uint32_t)0x1UL)

CTRL_WRSRC_CIPHEROUTPUT Value

◆ MXC_V_CTB_CTRL_WRSRC_NONE

#define MXC_V_CTB_CTRL_WRSRC_NONE   ((uint32_t)0x0UL)

CTRL_WRSRC_NONE Value

◆ MXC_V_CTB_CTRL_WRSRC_READFIFO

#define MXC_V_CTB_CTRL_WRSRC_READFIFO   ((uint32_t)0x2UL)

CTRL_WRSRC_READFIFO Value