Macros | |
| #define | TRNG_ENT_COUNT |
| #define | TRNG_ENT_COUNT |
| #define | TRNG_ENT_COUNT |
MCTL - Miscellaneous Control Register | |
| #define | TRNG_MCTL_OSC_DIV_MASK |
| #define | TRNG_MCTL_OSC_DIV_SHIFT |
| #define | TRNG_MCTL_OSC_DIV(x) |
| #define | TRNG_MCTL_RST_DEF_MASK |
| #define | TRNG_MCTL_RST_DEF_SHIFT |
| #define | TRNG_MCTL_RST_DEF(x) |
| #define | TRNG_MCTL_FCT_FAIL_MASK |
| #define | TRNG_MCTL_FCT_FAIL_SHIFT |
| #define | TRNG_MCTL_FCT_FAIL(x) |
| #define | TRNG_MCTL_FCT_VAL_MASK |
| #define | TRNG_MCTL_FCT_VAL_SHIFT |
| #define | TRNG_MCTL_FCT_VAL(x) |
| #define | TRNG_MCTL_ENT_VAL_MASK |
| #define | TRNG_MCTL_ENT_VAL_SHIFT |
| #define | TRNG_MCTL_ENT_VAL(x) |
| #define | TRNG_MCTL_ERR_MASK |
| #define | TRNG_MCTL_ERR_SHIFT |
| #define | TRNG_MCTL_ERR(x) |
| #define | TRNG_MCTL_TSTOP_OK_MASK |
| #define | TRNG_MCTL_TSTOP_OK_SHIFT |
| #define | TRNG_MCTL_TSTOP_OK(x) |
| #define | TRNG_MCTL_LRUN_CONT_MASK |
| #define | TRNG_MCTL_LRUN_CONT_SHIFT |
| #define | TRNG_MCTL_LRUN_CONT(x) |
| #define | TRNG_MCTL_OSC2_FAIL_MASK |
| #define | TRNG_MCTL_OSC2_FAIL_SHIFT |
| #define | TRNG_MCTL_OSC2_FAIL(x) |
| #define | TRNG_MCTL_PRGM_MASK |
| #define | TRNG_MCTL_PRGM_SHIFT |
| #define | TRNG_MCTL_PRGM(x) |
| #define | TRNG_MCTL_OSC_DIV_MASK |
| #define | TRNG_MCTL_OSC_DIV_SHIFT |
| #define | TRNG_MCTL_OSC_DIV(x) |
| #define | TRNG_MCTL_RST_DEF_MASK |
| #define | TRNG_MCTL_RST_DEF_SHIFT |
| #define | TRNG_MCTL_RST_DEF(x) |
| #define | TRNG_MCTL_FCT_FAIL_MASK |
| #define | TRNG_MCTL_FCT_FAIL_SHIFT |
| #define | TRNG_MCTL_FCT_FAIL(x) |
| #define | TRNG_MCTL_FCT_VAL_MASK |
| #define | TRNG_MCTL_FCT_VAL_SHIFT |
| #define | TRNG_MCTL_FCT_VAL(x) |
| #define | TRNG_MCTL_ENT_VAL_MASK |
| #define | TRNG_MCTL_ENT_VAL_SHIFT |
| #define | TRNG_MCTL_ENT_VAL(x) |
| #define | TRNG_MCTL_ERR_MASK |
| #define | TRNG_MCTL_ERR_SHIFT |
| #define | TRNG_MCTL_ERR(x) |
| #define | TRNG_MCTL_TSTOP_OK_MASK |
| #define | TRNG_MCTL_TSTOP_OK_SHIFT |
| #define | TRNG_MCTL_TSTOP_OK(x) |
| #define | TRNG_MCTL_LRUN_CONT_MASK |
| #define | TRNG_MCTL_LRUN_CONT_SHIFT |
| #define | TRNG_MCTL_LRUN_CONT(x) |
| #define | TRNG_MCTL_OSC2_FAIL_MASK |
| #define | TRNG_MCTL_OSC2_FAIL_SHIFT |
| #define | TRNG_MCTL_OSC2_FAIL(x) |
| #define | TRNG_MCTL_PRGM_MASK |
| #define | TRNG_MCTL_PRGM_SHIFT |
| #define | TRNG_MCTL_PRGM(x) |
| #define | TRNG_MCTL_OSC_DIV_MASK |
| #define | TRNG_MCTL_OSC_DIV_SHIFT |
| #define | TRNG_MCTL_OSC_DIV(x) |
| #define | TRNG_MCTL_UNUSED4_MASK |
| #define | TRNG_MCTL_UNUSED4_SHIFT |
| #define | TRNG_MCTL_UNUSED4(x) |
| #define | TRNG_MCTL_UNUSED5_MASK |
| #define | TRNG_MCTL_UNUSED5_SHIFT |
| #define | TRNG_MCTL_UNUSED5(x) |
| #define | TRNG_MCTL_RST_DEF_MASK |
| #define | TRNG_MCTL_RST_DEF_SHIFT |
| #define | TRNG_MCTL_RST_DEF(x) |
| #define | TRNG_MCTL_FOR_SCLK_MASK |
| #define | TRNG_MCTL_FOR_SCLK_SHIFT |
| #define | TRNG_MCTL_FOR_SCLK(x) |
| #define | TRNG_MCTL_FCT_FAIL_MASK |
| #define | TRNG_MCTL_FCT_FAIL_SHIFT |
| #define | TRNG_MCTL_FCT_FAIL(x) |
| #define | TRNG_MCTL_FCT_VAL_MASK |
| #define | TRNG_MCTL_FCT_VAL_SHIFT |
| #define | TRNG_MCTL_FCT_VAL(x) |
| #define | TRNG_MCTL_ENT_VAL_MASK |
| #define | TRNG_MCTL_ENT_VAL_SHIFT |
| #define | TRNG_MCTL_ENT_VAL(x) |
| #define | TRNG_MCTL_TST_OUT_MASK |
| #define | TRNG_MCTL_TST_OUT_SHIFT |
| #define | TRNG_MCTL_TST_OUT(x) |
| #define | TRNG_MCTL_ERR_MASK |
| #define | TRNG_MCTL_ERR_SHIFT |
| #define | TRNG_MCTL_ERR(x) |
| #define | TRNG_MCTL_TSTOP_OK_MASK |
| #define | TRNG_MCTL_TSTOP_OK_SHIFT |
| #define | TRNG_MCTL_TSTOP_OK(x) |
| #define | TRNG_MCTL_LRUN_CONT_MASK |
| #define | TRNG_MCTL_LRUN_CONT_SHIFT |
| #define | TRNG_MCTL_LRUN_CONT(x) |
| #define | TRNG_MCTL_OSC2_FAIL_MASK |
| #define | TRNG_MCTL_OSC2_FAIL_SHIFT |
| #define | TRNG_MCTL_OSC2_FAIL(x) |
| #define | TRNG_MCTL_PRGM_MASK |
| #define | TRNG_MCTL_PRGM_SHIFT |
| #define | TRNG_MCTL_PRGM(x) |
MCTL - Miscellaneous Control Register | |
| #define | TRNG_MCTL_DIS_SLF_TST_MASK |
| #define | TRNG_MCTL_DIS_SLF_TST_SHIFT |
| #define | TRNG_MCTL_DIS_SLF_TST(x) |
SCR1C - Statistical Check Run Length 1 Count Register | |
| #define | TRNG_SCR1C_R1_0_CT_MASK |
| #define | TRNG_SCR1C_R1_0_CT_SHIFT |
| #define | TRNG_SCR1C_R1_0_CT(x) |
| #define | TRNG_SCR1C_R1_1_CT_MASK |
| #define | TRNG_SCR1C_R1_1_CT_SHIFT |
| #define | TRNG_SCR1C_R1_1_CT(x) |
| #define | TRNG_SCR1C_R1_0_CT_MASK |
| #define | TRNG_SCR1C_R1_0_CT_SHIFT |
| #define | TRNG_SCR1C_R1_0_CT(x) |
| #define | TRNG_SCR1C_R1_1_CT_MASK |
| #define | TRNG_SCR1C_R1_1_CT_SHIFT |
| #define | TRNG_SCR1C_R1_1_CT(x) |
| #define | TRNG_SCR1C_R1_0_CT_MASK |
| #define | TRNG_SCR1C_R1_0_CT_SHIFT |
| #define | TRNG_SCR1C_R1_0_CT(x) |
| #define | TRNG_SCR1C_R1_1_CT_MASK |
| #define | TRNG_SCR1C_R1_1_CT_SHIFT |
| #define | TRNG_SCR1C_R1_1_CT(x) |
SCR1L - Statistical Check Run Length 1 Limit Register | |
| #define | TRNG_SCR1L_RUN1_MAX_MASK |
| #define | TRNG_SCR1L_RUN1_MAX_SHIFT |
| #define | TRNG_SCR1L_RUN1_MAX(x) |
| #define | TRNG_SCR1L_RUN1_RNG_MASK |
| #define | TRNG_SCR1L_RUN1_RNG_SHIFT |
| #define | TRNG_SCR1L_RUN1_RNG(x) |
| #define | TRNG_SCR1L_RUN1_MAX_MASK |
| #define | TRNG_SCR1L_RUN1_MAX_SHIFT |
| #define | TRNG_SCR1L_RUN1_MAX(x) |
| #define | TRNG_SCR1L_RUN1_RNG_MASK |
| #define | TRNG_SCR1L_RUN1_RNG_SHIFT |
| #define | TRNG_SCR1L_RUN1_RNG(x) |
| #define | TRNG_SCR1L_RUN1_MAX_MASK |
| #define | TRNG_SCR1L_RUN1_MAX_SHIFT |
| #define | TRNG_SCR1L_RUN1_MAX(x) |
| #define | TRNG_SCR1L_RUN1_RNG_MASK |
| #define | TRNG_SCR1L_RUN1_RNG_SHIFT |
| #define | TRNG_SCR1L_RUN1_RNG(x) |
STATUS - Status Register | |
| #define | TRNG_STATUS_TF1BR0_MASK |
| #define | TRNG_STATUS_TF1BR0_SHIFT |
| #define | TRNG_STATUS_TF1BR0(x) |
| #define | TRNG_STATUS_TF1BR1_MASK |
| #define | TRNG_STATUS_TF1BR1_SHIFT |
| #define | TRNG_STATUS_TF1BR1(x) |
| #define | TRNG_STATUS_TF2BR0_MASK |
| #define | TRNG_STATUS_TF2BR0_SHIFT |
| #define | TRNG_STATUS_TF2BR0(x) |
| #define | TRNG_STATUS_TF2BR1_MASK |
| #define | TRNG_STATUS_TF2BR1_SHIFT |
| #define | TRNG_STATUS_TF2BR1(x) |
| #define | TRNG_STATUS_TF3BR0_MASK |
| #define | TRNG_STATUS_TF3BR0_SHIFT |
| #define | TRNG_STATUS_TF3BR0(x) |
| #define | TRNG_STATUS_TF3BR1_MASK |
| #define | TRNG_STATUS_TF3BR1_SHIFT |
| #define | TRNG_STATUS_TF3BR1(x) |
| #define | TRNG_STATUS_TFLR_MASK |
| #define | TRNG_STATUS_TFLR_SHIFT |
| #define | TRNG_STATUS_TFLR(x) |
| #define | TRNG_STATUS_TFMB_MASK |
| #define | TRNG_STATUS_TFMB_SHIFT |
| #define | TRNG_STATUS_TFMB(x) |
| #define | TRNG_STATUS_RETRY_CT_MASK |
| #define | TRNG_STATUS_RETRY_CT_SHIFT |
| #define | TRNG_STATUS_RETRY_CT(x) |
| #define | TRNG_STATUS_TF1BR0_MASK |
| #define | TRNG_STATUS_TF1BR0_SHIFT |
| #define | TRNG_STATUS_TF1BR0(x) |
| #define | TRNG_STATUS_TF1BR1_MASK |
| #define | TRNG_STATUS_TF1BR1_SHIFT |
| #define | TRNG_STATUS_TF1BR1(x) |
| #define | TRNG_STATUS_TF2BR0_MASK |
| #define | TRNG_STATUS_TF2BR0_SHIFT |
| #define | TRNG_STATUS_TF2BR0(x) |
| #define | TRNG_STATUS_TF2BR1_MASK |
| #define | TRNG_STATUS_TF2BR1_SHIFT |
| #define | TRNG_STATUS_TF2BR1(x) |
| #define | TRNG_STATUS_TF3BR0_MASK |
| #define | TRNG_STATUS_TF3BR0_SHIFT |
| #define | TRNG_STATUS_TF3BR0(x) |
| #define | TRNG_STATUS_TF3BR1_MASK |
| #define | TRNG_STATUS_TF3BR1_SHIFT |
| #define | TRNG_STATUS_TF3BR1(x) |
| #define | TRNG_STATUS_TFLR_MASK |
| #define | TRNG_STATUS_TFLR_SHIFT |
| #define | TRNG_STATUS_TFLR(x) |
| #define | TRNG_STATUS_TFMB_MASK |
| #define | TRNG_STATUS_TFMB_SHIFT |
| #define | TRNG_STATUS_TFMB(x) |
| #define | TRNG_STATUS_RETRY_CT_MASK |
| #define | TRNG_STATUS_RETRY_CT_SHIFT |
| #define | TRNG_STATUS_RETRY_CT(x) |
| #define | TRNG_STATUS_TF1BR0_MASK |
| #define | TRNG_STATUS_TF1BR0_SHIFT |
| #define | TRNG_STATUS_TF1BR0(x) |
| #define | TRNG_STATUS_TF1BR1_MASK |
| #define | TRNG_STATUS_TF1BR1_SHIFT |
| #define | TRNG_STATUS_TF1BR1(x) |
| #define | TRNG_STATUS_TF2BR0_MASK |
| #define | TRNG_STATUS_TF2BR0_SHIFT |
| #define | TRNG_STATUS_TF2BR0(x) |
| #define | TRNG_STATUS_TF2BR1_MASK |
| #define | TRNG_STATUS_TF2BR1_SHIFT |
| #define | TRNG_STATUS_TF2BR1(x) |
| #define | TRNG_STATUS_TF3BR0_MASK |
| #define | TRNG_STATUS_TF3BR0_SHIFT |
| #define | TRNG_STATUS_TF3BR0(x) |
| #define | TRNG_STATUS_TF3BR1_MASK |
| #define | TRNG_STATUS_TF3BR1_SHIFT |
| #define | TRNG_STATUS_TF3BR1(x) |
| #define | TRNG_STATUS_TFLR_MASK |
| #define | TRNG_STATUS_TFLR_SHIFT |
| #define | TRNG_STATUS_TFLR(x) |
| #define | TRNG_STATUS_TFMB_MASK |
| #define | TRNG_STATUS_TFMB_SHIFT |
| #define | TRNG_STATUS_TFMB(x) |
| #define | TRNG_STATUS_RETRY_CT_MASK |
| #define | TRNG_STATUS_RETRY_CT_SHIFT |
| #define | TRNG_STATUS_RETRY_CT(x) |
SEC_CFG - Security Configuration Register | |
| #define | TRNG_SEC_CFG_NO_PRGM_MASK |
| #define | TRNG_SEC_CFG_NO_PRGM_SHIFT |
| #define | TRNG_SEC_CFG_NO_PRGM(x) |
| #define | TRNG_SEC_CFG_NO_PRGM_MASK |
| #define | TRNG_SEC_CFG_NO_PRGM_SHIFT |
| #define | TRNG_SEC_CFG_NO_PRGM(x) |
| #define | TRNG_SEC_CFG_UNUSED0_MASK |
| #define | TRNG_SEC_CFG_UNUSED0_SHIFT |
| #define | TRNG_SEC_CFG_UNUSED0(x) |
| #define | TRNG_SEC_CFG_NO_PRGM_MASK |
| #define | TRNG_SEC_CFG_NO_PRGM_SHIFT |
| #define | TRNG_SEC_CFG_NO_PRGM(x) |
| #define | TRNG_SEC_CFG_UNUSED2_MASK |
| #define | TRNG_SEC_CFG_UNUSED2_SHIFT |
| #define | TRNG_SEC_CFG_UNUSED2(x) |
INT_CTRL - Interrupt Control Register | |
| #define | TRNG_INT_CTRL_HW_ERR_MASK |
| #define | TRNG_INT_CTRL_HW_ERR_SHIFT |
| #define | TRNG_INT_CTRL_HW_ERR(x) |
| #define | TRNG_INT_CTRL_ENT_VAL_MASK |
| #define | TRNG_INT_CTRL_ENT_VAL_SHIFT |
| #define | TRNG_INT_CTRL_ENT_VAL(x) |
| #define | TRNG_INT_CTRL_FRQ_CT_FAIL_MASK |
| #define | TRNG_INT_CTRL_FRQ_CT_FAIL_SHIFT |
| #define | TRNG_INT_CTRL_FRQ_CT_FAIL(x) |
| #define | TRNG_INT_CTRL_HW_ERR_MASK |
| #define | TRNG_INT_CTRL_HW_ERR_SHIFT |
| #define | TRNG_INT_CTRL_HW_ERR(x) |
| #define | TRNG_INT_CTRL_ENT_VAL_MASK |
| #define | TRNG_INT_CTRL_ENT_VAL_SHIFT |
| #define | TRNG_INT_CTRL_ENT_VAL(x) |
| #define | TRNG_INT_CTRL_FRQ_CT_FAIL_MASK |
| #define | TRNG_INT_CTRL_FRQ_CT_FAIL_SHIFT |
| #define | TRNG_INT_CTRL_FRQ_CT_FAIL(x) |
| #define | TRNG_INT_CTRL_HW_ERR_MASK |
| #define | TRNG_INT_CTRL_HW_ERR_SHIFT |
| #define | TRNG_INT_CTRL_HW_ERR(x) |
| #define | TRNG_INT_CTRL_ENT_VAL_MASK |
| #define | TRNG_INT_CTRL_ENT_VAL_SHIFT |
| #define | TRNG_INT_CTRL_ENT_VAL(x) |
| #define | TRNG_INT_CTRL_FRQ_CT_FAIL_MASK |
| #define | TRNG_INT_CTRL_FRQ_CT_FAIL_SHIFT |
| #define | TRNG_INT_CTRL_FRQ_CT_FAIL(x) |
| #define | TRNG_INT_CTRL_UNUSED_MASK |
| #define | TRNG_INT_CTRL_UNUSED_SHIFT |
| #define | TRNG_INT_CTRL_UNUSED(x) |
INT_MASK - Mask Register | |
| #define | TRNG_INT_MASK_HW_ERR_MASK |
| #define | TRNG_INT_MASK_HW_ERR_SHIFT |
| #define | TRNG_INT_MASK_HW_ERR(x) |
| #define | TRNG_INT_MASK_ENT_VAL_MASK |
| #define | TRNG_INT_MASK_ENT_VAL_SHIFT |
| #define | TRNG_INT_MASK_ENT_VAL(x) |
| #define | TRNG_INT_MASK_FRQ_CT_FAIL_MASK |
| #define | TRNG_INT_MASK_FRQ_CT_FAIL_SHIFT |
| #define | TRNG_INT_MASK_FRQ_CT_FAIL(x) |
| #define | TRNG_INT_MASK_HW_ERR_MASK |
| #define | TRNG_INT_MASK_HW_ERR_SHIFT |
| #define | TRNG_INT_MASK_HW_ERR(x) |
| #define | TRNG_INT_MASK_ENT_VAL_MASK |
| #define | TRNG_INT_MASK_ENT_VAL_SHIFT |
| #define | TRNG_INT_MASK_ENT_VAL(x) |
| #define | TRNG_INT_MASK_FRQ_CT_FAIL_MASK |
| #define | TRNG_INT_MASK_FRQ_CT_FAIL_SHIFT |
| #define | TRNG_INT_MASK_FRQ_CT_FAIL(x) |
| #define | TRNG_INT_MASK_HW_ERR_MASK |
| #define | TRNG_INT_MASK_HW_ERR_SHIFT |
| #define | TRNG_INT_MASK_HW_ERR(x) |
| #define | TRNG_INT_MASK_ENT_VAL_MASK |
| #define | TRNG_INT_MASK_ENT_VAL_SHIFT |
| #define | TRNG_INT_MASK_ENT_VAL(x) |
| #define | TRNG_INT_MASK_FRQ_CT_FAIL_MASK |
| #define | TRNG_INT_MASK_FRQ_CT_FAIL_SHIFT |
| #define | TRNG_INT_MASK_FRQ_CT_FAIL(x) |
INT_STATUS - Interrupt Status register | |
| #define | TRNG_INT_STATUS_HW_ERR_MASK |
| #define | TRNG_INT_STATUS_HW_ERR_SHIFT |
| #define | TRNG_INT_STATUS_HW_ERR(x) |
| #define | TRNG_INT_STATUS_ENT_VAL_MASK |
| #define | TRNG_INT_STATUS_ENT_VAL_SHIFT |
| #define | TRNG_INT_STATUS_ENT_VAL(x) |
| #define | TRNG_INT_STATUS_FRQ_CT_FAIL_MASK |
| #define | TRNG_INT_STATUS_FRQ_CT_FAIL_SHIFT |
| #define | TRNG_INT_STATUS_FRQ_CT_FAIL(x) |
| #define | TRNG_INT_STATUS_HW_ERR_MASK |
| #define | TRNG_INT_STATUS_HW_ERR_SHIFT |
| #define | TRNG_INT_STATUS_HW_ERR(x) |
| #define | TRNG_INT_STATUS_ENT_VAL_MASK |
| #define | TRNG_INT_STATUS_ENT_VAL_SHIFT |
| #define | TRNG_INT_STATUS_ENT_VAL(x) |
| #define | TRNG_INT_STATUS_FRQ_CT_FAIL_MASK |
| #define | TRNG_INT_STATUS_FRQ_CT_FAIL_SHIFT |
| #define | TRNG_INT_STATUS_FRQ_CT_FAIL(x) |
| #define | TRNG_INT_STATUS_HW_ERR_MASK |
| #define | TRNG_INT_STATUS_HW_ERR_SHIFT |
| #define | TRNG_INT_STATUS_HW_ERR(x) |
| #define | TRNG_INT_STATUS_ENT_VAL_MASK |
| #define | TRNG_INT_STATUS_ENT_VAL_SHIFT |
| #define | TRNG_INT_STATUS_ENT_VAL(x) |
| #define | TRNG_INT_STATUS_FRQ_CT_FAIL_MASK |
| #define | TRNG_INT_STATUS_FRQ_CT_FAIL_SHIFT |
| #define | TRNG_INT_STATUS_FRQ_CT_FAIL(x) |
CSER - Common Security Error Register | |
| #define | TRNG_CSER_RED_FSM_MASK |
| #define | TRNG_CSER_RED_FSM_SHIFT |
| #define | TRNG_CSER_RED_FSM(x) |
CSCLR - Common Security Clear Register | |
| #define | TRNG_CSCLR_RED_FSM_CLR_MASK |
| #define | TRNG_CSCLR_RED_FSM_CLR_SHIFT |
| #define | TRNG_CSCLR_RED_FSM_CLR(x) |
OSC2_CTL - RNG Oscillator 2 Control Register | |
| #define | TRNG_OSC2_CTL_TRNG_ENT_CTL_MASK |
| #define | TRNG_OSC2_CTL_TRNG_ENT_CTL_SHIFT |
| #define | TRNG_OSC2_CTL_TRNG_ENT_CTL(x) |
| #define | TRNG_OSC2_CTL_OSC2_DIV_MASK |
| #define | TRNG_OSC2_CTL_OSC2_DIV_SHIFT |
| #define | TRNG_OSC2_CTL_OSC2_DIV(x) |
| #define | TRNG_OSC2_CTL_OSC2_FCT_VAL_MASK |
| #define | TRNG_OSC2_CTL_OSC2_FCT_VAL_SHIFT |
| #define | TRNG_OSC2_CTL_OSC2_FCT_VAL(x) |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_LMT_MASK |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_LMT_SHIFT |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_LMT(x) |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_TEST_MASK |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_TEST_SHIFT |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_TEST(x) |
| #define | TRNG_OSC2_CTL_TRNG_ENT_CTL_MASK |
| #define | TRNG_OSC2_CTL_TRNG_ENT_CTL_SHIFT |
| #define | TRNG_OSC2_CTL_TRNG_ENT_CTL(x) |
| #define | TRNG_OSC2_CTL_OSC2_DIV_MASK |
| #define | TRNG_OSC2_CTL_OSC2_DIV_SHIFT |
| #define | TRNG_OSC2_CTL_OSC2_DIV(x) |
| #define | TRNG_OSC2_CTL_OSC2_FCT_VAL_MASK |
| #define | TRNG_OSC2_CTL_OSC2_FCT_VAL_SHIFT |
| #define | TRNG_OSC2_CTL_OSC2_FCT_VAL(x) |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_LMT_MASK |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_LMT_SHIFT |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_LMT(x) |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_TEST_MASK |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_TEST_SHIFT |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_TEST(x) |
| #define | TRNG_OSC2_CTL_TRNG_ENT_CTL_MASK |
| #define | TRNG_OSC2_CTL_TRNG_ENT_CTL_SHIFT |
| #define | TRNG_OSC2_CTL_TRNG_ENT_CTL(x) |
| #define | TRNG_OSC2_CTL_OSC2_DIV_MASK |
| #define | TRNG_OSC2_CTL_OSC2_DIV_SHIFT |
| #define | TRNG_OSC2_CTL_OSC2_DIV(x) |
| #define | TRNG_OSC2_CTL_OSC2_OUT_EN_MASK |
| #define | TRNG_OSC2_CTL_OSC2_OUT_EN_SHIFT |
| #define | TRNG_OSC2_CTL_OSC2_OUT_EN(x) |
| #define | TRNG_OSC2_CTL_OSC2_FCT_VAL_MASK |
| #define | TRNG_OSC2_CTL_OSC2_FCT_VAL_SHIFT |
| #define | TRNG_OSC2_CTL_OSC2_FCT_VAL(x) |
| #define | TRNG_OSC2_CTL_OSC2_TST_OUT_MASK |
| #define | TRNG_OSC2_CTL_OSC2_TST_OUT_SHIFT |
| #define | TRNG_OSC2_CTL_OSC2_TST_OUT(x) |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_LMT_MASK |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_LMT_SHIFT |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_LMT(x) |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_TEST_MASK |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_TEST_SHIFT |
| #define | TRNG_OSC2_CTL_OSC_FAILSAFE_TEST(x) |
VID1 - Version ID Register (MS) | |
| #define | TRNG_VID1_MIN_REV_MASK |
| #define | TRNG_VID1_MIN_REV_SHIFT |
| #define | TRNG_VID1_MIN_REV(x) |
| #define | TRNG_VID1_MAJ_REV_MASK |
| #define | TRNG_VID1_MAJ_REV_SHIFT |
| #define | TRNG_VID1_MAJ_REV(x) |
| #define | TRNG_VID1_IP_ID_MASK |
| #define | TRNG_VID1_IP_ID_SHIFT |
| #define | TRNG_VID1_IP_ID(x) |
| #define | TRNG_VID1_MIN_REV_MASK |
| #define | TRNG_VID1_MIN_REV_SHIFT |
| #define | TRNG_VID1_MIN_REV(x) |
| #define | TRNG_VID1_MAJ_REV_MASK |
| #define | TRNG_VID1_MAJ_REV_SHIFT |
| #define | TRNG_VID1_MAJ_REV(x) |
| #define | TRNG_VID1_IP_ID_MASK |
| #define | TRNG_VID1_IP_ID_SHIFT |
| #define | TRNG_VID1_IP_ID(x) |
| #define | TRNG_VID1_MIN_REV_MASK |
| #define | TRNG_VID1_MIN_REV_SHIFT |
| #define | TRNG_VID1_MIN_REV(x) |
| #define | TRNG_VID1_MAJ_REV_MASK |
| #define | TRNG_VID1_MAJ_REV_SHIFT |
| #define | TRNG_VID1_MAJ_REV(x) |
| #define | TRNG_VID1_IP_ID_MASK |
| #define | TRNG_VID1_IP_ID_SHIFT |
| #define | TRNG_VID1_IP_ID(x) |
VID2 - Version ID Register (LS) | |
| #define | TRNG_VID2_CONFIG_OPT_MASK |
| #define | TRNG_VID2_CONFIG_OPT_SHIFT |
| #define | TRNG_VID2_CONFIG_OPT(x) |
| #define | TRNG_VID2_ECO_REV_MASK |
| #define | TRNG_VID2_ECO_REV_SHIFT |
| #define | TRNG_VID2_ECO_REV(x) |
| #define | TRNG_VID2_INTG_OPT_MASK |
| #define | TRNG_VID2_INTG_OPT_SHIFT |
| #define | TRNG_VID2_INTG_OPT(x) |
| #define | TRNG_VID2_ERA_MASK |
| #define | TRNG_VID2_ERA_SHIFT |
| #define | TRNG_VID2_ERA(x) |
| #define | TRNG_VID2_CONFIG_OPT_MASK |
| #define | TRNG_VID2_CONFIG_OPT_SHIFT |
| #define | TRNG_VID2_CONFIG_OPT(x) |
| #define | TRNG_VID2_ECO_REV_MASK |
| #define | TRNG_VID2_ECO_REV_SHIFT |
| #define | TRNG_VID2_ECO_REV(x) |
| #define | TRNG_VID2_INTG_OPT_MASK |
| #define | TRNG_VID2_INTG_OPT_SHIFT |
| #define | TRNG_VID2_INTG_OPT(x) |
| #define | TRNG_VID2_ERA_MASK |
| #define | TRNG_VID2_ERA_SHIFT |
| #define | TRNG_VID2_ERA(x) |
| #define | TRNG_VID2_CONFIG_OPT_MASK |
| #define | TRNG_VID2_CONFIG_OPT_SHIFT |
| #define | TRNG_VID2_CONFIG_OPT(x) |
| #define | TRNG_VID2_ECO_REV_MASK |
| #define | TRNG_VID2_ECO_REV_SHIFT |
| #define | TRNG_VID2_ECO_REV(x) |
| #define | TRNG_VID2_INTG_OPT_MASK |
| #define | TRNG_VID2_INTG_OPT_SHIFT |
| #define | TRNG_VID2_INTG_OPT(x) |
| #define | TRNG_VID2_ERA_MASK |
| #define | TRNG_VID2_ERA_SHIFT |
| #define | TRNG_VID2_ERA(x) |
TOTSAM - Total Samples Register | |
| #define | TRNG_TOTSAM_TOT_SAM_MASK |
| #define | TRNG_TOTSAM_TOT_SAM_SHIFT |
| #define | TRNG_TOTSAM_TOT_SAM(x) |
| #define TRNG_MCTL_OSC_DIV | ( | x | ) |
OSC_DIV - Oscillator1 Divide 0b00..use ring oscillator with no divide 0b01..use ring oscillator divided-by-2 0b10..use ring oscillator divided-by-4 0b11..use ring oscillator divided-by-8
OSC_DIV 0b00..use ring oscillator with no divide 0b01..use ring oscillator divided-by-2 0b10..use ring oscillator divided-by-4 0b11..use ring oscillator divided-by-8
| #define TRNG_MCTL_DIS_SLF_TST | ( | x | ) |
DIS_SLF_TST - Disable Self-Tests
| #define TRNG_MCTL_RST_DEF | ( | x | ) |
RST_DEF - Reset Defaults 0b0..No impact. 0b1..Writing a 1 to this bit clears various TRNG registers, and bits within registers, to their default state.
| #define TRNG_MCTL_FCT_FAIL | ( | x | ) |
FCT_FAIL - Frequency Count Fail
| #define TRNG_MCTL_FCT_VAL | ( | x | ) |
FCT_VAL - Frequency Count Valid 0b0..Frequency Count is not valid 0b1..Frequency Count is valid
| #define TRNG_MCTL_ENT_VAL | ( | x | ) |
ENT_VAL - Entropy Valid 0b0..Entropy is not valid 0b1..Entropy is valid
| #define TRNG_MCTL_ERR | ( | x | ) |
ERR - Error Status 0b0..No error 0b1..Error detected
| #define TRNG_MCTL_TSTOP_OK | ( | x | ) |
TSTOP_OK - TRNG is ok to stop 0b0..TRNG is generating entropy and is not ok to stop 0b1..TRNG is not generating entropy and is ok to stop
| #define TRNG_MCTL_LRUN_CONT | ( | x | ) |
LRUN_CONT - Long run count continues between entropy generations 0b0..The internal test's long run count is restarted for each entropy re-generation. 0b1..The count value (of TRNG's internal long_run test), at the start of an entropy generation will continue where it left off at the end of the previous entropy generation.
| #define TRNG_MCTL_OSC2_FAIL | ( | x | ) |
OSC2_FAIL - Oscillator 2 Failure 0b0..Oscillator 2 is running. 0b1..Oscillator 2 has failed (see OSC2_CTL[OSC_FAILSAFE_LMT]).
OSC2_FAIL - Oscillator 2 Failure
| #define TRNG_MCTL_PRGM | ( | x | ) |
PRGM - Program Mode 0b0..TRNG is in Run Mode 0b1..TRNG is in Program Mode
| #define TRNG_SCR1C_R1_0_CT | ( | x | ) |
R1_0_CT - Runs of Zero, Length 1 Count
| #define TRNG_SCR1C_R1_1_CT | ( | x | ) |
R1_1_CT - Runs of One, Length 1 Count
| #define TRNG_SCR1L_RUN1_MAX | ( | x | ) |
RUN1_MAX - Run Length 1 Maximum Limit
| #define TRNG_SCR1L_RUN1_RNG | ( | x | ) |
RUN1_RNG - Run Length 1 Range
| #define TRNG_STATUS_TF1BR0 | ( | x | ) |
TF1BR0 0b0..The 1-Bit Run, Sampling 0s Test has passed 0b1..The 1-Bit Run, Sampling 0s Test has failed
| #define TRNG_STATUS_TF1BR1 | ( | x | ) |
TF1BR1 0b0..The 1-Bit Run, Sampling 1s Test has passed 0b1..The 1-Bit Run, Sampling 1s Test has failed
| #define TRNG_STATUS_TF2BR0 | ( | x | ) |
TF2BR0 0b0..The 2-Bit Run, Sampling 0s Test has passed 0b1..The 2-Bit Run, Sampling 0s Test has failed
| #define TRNG_STATUS_TF2BR1 | ( | x | ) |
TF2BR1 0b0..The 2-Bit Run, Sampling 1s Test has passed 0b1..The 2-Bit Run, Sampling 1s Test has failed
| #define TRNG_STATUS_TF3BR0 | ( | x | ) |
TF3BR0 0b0..The 3-Bit Run, Sampling 0s Test has passed 0b1..The 3-Bit Run, Sampling 0s Test has failed
| #define TRNG_STATUS_TF3BR1 | ( | x | ) |
TF3BR1 - Test Fail 0b0..The 3-Bit Run, Sampling 1s Test has passed 0b1..The 3-Bit Run, Sampling 1s Test has failed
| #define TRNG_STATUS_TFLR | ( | x | ) |
TFLR - Test Fail, Long Run. 0b0..The Long Run Test has passed 0b1..The Long Run Test has failed
| #define TRNG_STATUS_TFMB | ( | x | ) |
TFMB 0b0..The Mono Bit Test has passed 0b1..The Mono Bit Test has failed
| #define TRNG_SEC_CFG_NO_PRGM | ( | x | ) |
NO_PRGM 0b0..TRNG configuration registers can be modified. 0b1..TRNG configuration registers cannot be modified.
NO_PRGM 0b0..Programability of registers controlled only by the Miscellaneous Control Register's access mode bit. 0b1..Overides Miscellaneous Control Register access mode and prevents TRNG register programming.
| #define TRNG_INT_CTRL_HW_ERR | ( | x | ) |
HW_ERR 0b0..Clears the INT_STATUS[HW_ERR] bit. Will automatically set after writing. 0b1..Enables the INT_STATUS[HW_ERR] bit to be set, thereby enabling interrupt generation for the HW_ERR condition.
HW_ERR 0b0..Corresponding bit of INT_STATUS register cleared. 0b1..Corresponding bit of INT_STATUS register active.
| #define TRNG_INT_CTRL_ENT_VAL | ( | x | ) |
ENT_VAL 0b0..Clears the INT_STATUS[ENT_VAL] bit. Will automatically set after writing. 0b1..Enables the INT_STATUS[ENT_VAL] bit to be set, thereby enabling interrupt generation for the ENT_VAL condition.
ENT_VAL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_CTRL_FRQ_CT_FAIL | ( | x | ) |
FRQ_CT_FAIL 0b0..Clears the INT_STATUS[FRQ_CT_FAIL] bit. Will automatically set after writing. 0b1..Enables the INT_STATUS[FRQ_CT_FAIL] bit to be set, thereby enabling interrupt generation for the FRQ_CT_FAIL condition.
FRQ_CT_FAIL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_MASK_HW_ERR | ( | x | ) |
HW_ERR 0b0..HW_ERR interrupt is disabled. 0b1..HW_ERR interrupt is enabled.
HW_ERR 0b0..Corresponding interrupt of INT_STATUS is masked. 0b1..Corresponding bit of INT_STATUS is active.
| #define TRNG_INT_MASK_ENT_VAL | ( | x | ) |
ENT_VAL 0b0..ENT_VAL interrupt is disabled. 0b1..ENT_VAL interrupt is enabled.
ENT_VAL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_MASK_FRQ_CT_FAIL | ( | x | ) |
FRQ_CT_FAIL 0b0..FRQ_CT_FAIL interrupt is disabled. 0b1..FRQ_CT_FAIL interrupt is enabled.
FRQ_CT_FAIL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_STATUS_HW_ERR | ( | x | ) |
HW_ERR 0b0..No error. 0b1..Error detected.
HW_ERR 0b0..no error 0b1..error detected.
| #define TRNG_INT_STATUS_ENT_VAL | ( | x | ) |
ENT_VAL 0b0..Busy generating entropy. Any value read from the Entropy registers is invalid. 0b1..Values read from the Entropy registers are valid.
ENT_VAL 0b0..Busy generation entropy. Any value read is invalid. 0b1..TRNG can be stopped and entropy is valid if read.
| #define TRNG_INT_STATUS_FRQ_CT_FAIL | ( | x | ) |
FRQ_CT_FAIL 0b0..No hardware nor self test frequency errors. 0b1..The frequency counter has detected a failure.
| #define TRNG_CSER_RED_FSM | ( | x | ) |
RED_FSM - Redundant FSM error/fault detected 0b0..No redundant FSM error/fault 0b1..Redundant FSM error/fault detected.
| #define TRNG_CSCLR_RED_FSM_CLR | ( | x | ) |
RED_FSM_CLR 0b0..No effect, ignored 0b1..Clears the CSER[RED_FSM] bit.
| #define TRNG_OSC2_CTL_TRNG_ENT_CTL | ( | x | ) |
TRNG_ENT_CTL - TRNG entropy generation control. 0b00..Single oscillator mode, using OSC1 (default) 0b01..Dual oscillator mode 0b10..Single oscillator mode, using OSC2 0b11..Unused, (bit field cannot be written to this value)
TRNG_ENT_CTL - TRNG entropy generation control.
| #define TRNG_OSC2_CTL_OSC2_DIV | ( | x | ) |
OSC2_DIV - Oscillator 2 Divide. 0b00..Use ring oscillator 2 with no divide 0b01..Use ring oscillator 2 divided-by-2 0b10..Use ring oscillator 2 divided-by-4 0b11..Use ring oscillator 2 divided-by-8
OSC2_DIV - Oscillator 2 divide control
| #define TRNG_OSC2_CTL_OSC2_FCT_VAL | ( | x | ) |
OSC2_FCT_VAL - TRNG Oscillator 2 Frequency Count Valid 0b0..Frequency count is invalid. 0b1..If TRNG_ENT_CTL = 10b, valid frequency count may be read from OSC2_FRQCNT.
OSC2_FCT_VAL - TRNG Oscillator 2 Frequency Count Valid
| #define TRNG_OSC2_CTL_OSC_FAILSAFE_LMT | ( | x | ) |
OSC_FAILSAFE_LMT - Oscillator fail safe limit. 0b00..The limit N is 4096 (2^12) system clocks. 0b01..The limit N is 65536 (2^16) system clocks. (default) 0b10..N is 2^20 system clocks. 0b11..N is 2^22 system clocks (full range of the counter being used).
OSC_FAILSAFE_LMT - Test point inside ring oscillator 2.
| #define TRNG_OSC2_CTL_OSC_FAILSAFE_TEST | ( | x | ) |
OSC_FAILSAFE_TEST - Oscillator fail safe test. 0b0..No impact. 0b1..Disables oscillator 2 while in dual-oscillator mode (TRNG_ENT_CTL = 01b).
OSC_FAILSAFE_TEST - Test point inside ring oscillator 2.
| #define TRNG_VID1_MIN_REV | ( | x | ) |
MIN_REV 0b00001011..Minor revision number for TRNG.
MIN_REV 0b00000100..Minor revision number for TRNG.
| #define TRNG_VID1_MAJ_REV | ( | x | ) |
MAJ_REV 0b00010100..Major revision number for TRNG.
| #define TRNG_VID1_IP_ID | ( | x | ) |
IP_ID 0b0000000000110000..ID for TRNG.
| #define TRNG_VID2_CONFIG_OPT | ( | x | ) |
CONFIG_OPT 0b00000000..TRNG_CONFIG_OPT for TRNG.
| #define TRNG_VID2_ECO_REV | ( | x | ) |
ECO_REV 0b00000000..TRNG_ECO_REV for TRNG.
ECO_REV 0b00000001..TRNG_ECO_REV for TRNG.
| #define TRNG_VID2_INTG_OPT | ( | x | ) |
INTG_OPT 0b00001010..INTG_OPT for TRNG.
| #define TRNG_VID2_ERA | ( | x | ) |
ERA 0b00001011..ERA of the TRNG.
ERA 0b00001011..COMPILE_OPT for TRNG.
| #define TRNG_MCTL_OSC_DIV | ( | x | ) |
OSC_DIV - Oscillator1 Divide 0b00..use ring oscillator with no divide 0b01..use ring oscillator divided-by-2 0b10..use ring oscillator divided-by-4 0b11..use ring oscillator divided-by-8
OSC_DIV 0b00..use ring oscillator with no divide 0b01..use ring oscillator divided-by-2 0b10..use ring oscillator divided-by-4 0b11..use ring oscillator divided-by-8
| #define TRNG_MCTL_RST_DEF | ( | x | ) |
RST_DEF - Reset Defaults 0b0..No impact. 0b1..Writing a 1 to this bit clears various TRNG registers, and bits within registers, to their default state.
| #define TRNG_MCTL_FCT_FAIL | ( | x | ) |
FCT_FAIL - Frequency Count Fail
| #define TRNG_MCTL_FCT_VAL | ( | x | ) |
FCT_VAL - Frequency Count Valid 0b0..Frequency Count is not valid 0b1..Frequency Count is valid
| #define TRNG_MCTL_ENT_VAL | ( | x | ) |
ENT_VAL - Entropy Valid 0b0..Entropy is not valid 0b1..Entropy is valid
| #define TRNG_MCTL_ERR | ( | x | ) |
ERR - Error Status 0b0..No error 0b1..Error detected
| #define TRNG_MCTL_TSTOP_OK | ( | x | ) |
TSTOP_OK - TRNG is ok to stop 0b0..TRNG is generating entropy and is not ok to stop 0b1..TRNG is not generating entropy and is ok to stop
| #define TRNG_MCTL_LRUN_CONT | ( | x | ) |
LRUN_CONT - Long run count continues between entropy generations 0b0..The internal test's long run count is restarted for each entropy re-generation. 0b1..The count value (of TRNG's internal long_run test), at the start of an entropy generation will continue where it left off at the end of the previous entropy generation.
| #define TRNG_MCTL_OSC2_FAIL | ( | x | ) |
OSC2_FAIL - Oscillator 2 Failure 0b0..Oscillator 2 is running. 0b1..Oscillator 2 has failed (see OSC2_CTL[OSC_FAILSAFE_LMT]).
OSC2_FAIL - Oscillator 2 Failure
| #define TRNG_MCTL_PRGM | ( | x | ) |
PRGM - Program Mode 0b0..TRNG is in Run Mode 0b1..TRNG is in Program Mode
| #define TRNG_SCR1C_R1_0_CT | ( | x | ) |
R1_0_CT - Runs of Zero, Length 1 Count
| #define TRNG_SCR1C_R1_1_CT | ( | x | ) |
R1_1_CT - Runs of One, Length 1 Count
| #define TRNG_SCR1L_RUN1_MAX | ( | x | ) |
RUN1_MAX - Run Length 1 Maximum Limit
| #define TRNG_SCR1L_RUN1_RNG | ( | x | ) |
RUN1_RNG - Run Length 1 Range
| #define TRNG_STATUS_TF1BR0 | ( | x | ) |
TF1BR0 0b0..The 1-Bit Run, Sampling 0s Test has passed 0b1..The 1-Bit Run, Sampling 0s Test has failed
| #define TRNG_STATUS_TF1BR1 | ( | x | ) |
TF1BR1 0b0..The 1-Bit Run, Sampling 1s Test has passed 0b1..The 1-Bit Run, Sampling 1s Test has failed
| #define TRNG_STATUS_TF2BR0 | ( | x | ) |
TF2BR0 0b0..The 2-Bit Run, Sampling 0s Test has passed 0b1..The 2-Bit Run, Sampling 0s Test has failed
| #define TRNG_STATUS_TF2BR1 | ( | x | ) |
TF2BR1 0b0..The 2-Bit Run, Sampling 1s Test has passed 0b1..The 2-Bit Run, Sampling 1s Test has failed
| #define TRNG_STATUS_TF3BR0 | ( | x | ) |
TF3BR0 0b0..The 3-Bit Run, Sampling 0s Test has passed 0b1..The 3-Bit Run, Sampling 0s Test has failed
| #define TRNG_STATUS_TF3BR1 | ( | x | ) |
TF3BR1 - Test Fail 0b0..The 3-Bit Run, Sampling 1s Test has passed 0b1..The 3-Bit Run, Sampling 1s Test has failed
| #define TRNG_STATUS_TFLR | ( | x | ) |
TFLR - Test Fail, Long Run. 0b0..The Long Run Test has passed 0b1..The Long Run Test has failed
| #define TRNG_STATUS_TFMB | ( | x | ) |
TFMB 0b0..The Mono Bit Test has passed 0b1..The Mono Bit Test has failed
| #define TRNG_SEC_CFG_NO_PRGM | ( | x | ) |
NO_PRGM 0b0..TRNG configuration registers can be modified. 0b1..TRNG configuration registers cannot be modified.
NO_PRGM 0b0..Programability of registers controlled only by the Miscellaneous Control Register's access mode bit. 0b1..Overides Miscellaneous Control Register access mode and prevents TRNG register programming.
| #define TRNG_INT_CTRL_HW_ERR | ( | x | ) |
HW_ERR 0b0..Clears the INT_STATUS[HW_ERR] bit. Will automatically set after writing. 0b1..Enables the INT_STATUS[HW_ERR] bit to be set, thereby enabling interrupt generation for the HW_ERR condition.
HW_ERR 0b0..Corresponding bit of INT_STATUS register cleared. 0b1..Corresponding bit of INT_STATUS register active.
| #define TRNG_INT_CTRL_ENT_VAL | ( | x | ) |
ENT_VAL 0b0..Clears the INT_STATUS[ENT_VAL] bit. Will automatically set after writing. 0b1..Enables the INT_STATUS[ENT_VAL] bit to be set, thereby enabling interrupt generation for the ENT_VAL condition.
ENT_VAL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_CTRL_FRQ_CT_FAIL | ( | x | ) |
FRQ_CT_FAIL 0b0..Clears the INT_STATUS[FRQ_CT_FAIL] bit. Will automatically set after writing. 0b1..Enables the INT_STATUS[FRQ_CT_FAIL] bit to be set, thereby enabling interrupt generation for the FRQ_CT_FAIL condition.
FRQ_CT_FAIL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_MASK_HW_ERR | ( | x | ) |
HW_ERR 0b0..HW_ERR interrupt is disabled. 0b1..HW_ERR interrupt is enabled.
HW_ERR 0b0..Corresponding interrupt of INT_STATUS is masked. 0b1..Corresponding bit of INT_STATUS is active.
| #define TRNG_INT_MASK_ENT_VAL | ( | x | ) |
ENT_VAL 0b0..ENT_VAL interrupt is disabled. 0b1..ENT_VAL interrupt is enabled.
ENT_VAL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_MASK_FRQ_CT_FAIL | ( | x | ) |
FRQ_CT_FAIL 0b0..FRQ_CT_FAIL interrupt is disabled. 0b1..FRQ_CT_FAIL interrupt is enabled.
FRQ_CT_FAIL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_STATUS_HW_ERR | ( | x | ) |
HW_ERR 0b0..No error. 0b1..Error detected.
HW_ERR 0b0..no error 0b1..error detected.
| #define TRNG_INT_STATUS_ENT_VAL | ( | x | ) |
ENT_VAL 0b0..Busy generating entropy. Any value read from the Entropy registers is invalid. 0b1..Values read from the Entropy registers are valid.
ENT_VAL 0b0..Busy generation entropy. Any value read is invalid. 0b1..TRNG can be stopped and entropy is valid if read.
| #define TRNG_INT_STATUS_FRQ_CT_FAIL | ( | x | ) |
FRQ_CT_FAIL 0b0..No hardware nor self test frequency errors. 0b1..The frequency counter has detected a failure.
| #define TRNG_OSC2_CTL_TRNG_ENT_CTL | ( | x | ) |
TRNG_ENT_CTL - TRNG entropy generation control. 0b00..Single oscillator mode, using OSC1 (default) 0b01..Dual oscillator mode 0b10..Single oscillator mode, using OSC2 0b11..Unused, (bit field cannot be written to this value)
TRNG_ENT_CTL - TRNG entropy generation control.
| #define TRNG_OSC2_CTL_OSC2_DIV | ( | x | ) |
OSC2_DIV - Oscillator 2 Divide. 0b00..Use ring oscillator 2 with no divide 0b01..Use ring oscillator 2 divided-by-2 0b10..Use ring oscillator 2 divided-by-4 0b11..Use ring oscillator 2 divided-by-8
OSC2_DIV - Oscillator 2 divide control
| #define TRNG_OSC2_CTL_OSC2_FCT_VAL | ( | x | ) |
OSC2_FCT_VAL - TRNG Oscillator 2 Frequency Count Valid 0b0..Frequency count is invalid. 0b1..If TRNG_ENT_CTL = 10b, valid frequency count may be read from OSC2_FRQCNT.
OSC2_FCT_VAL - TRNG Oscillator 2 Frequency Count Valid
| #define TRNG_OSC2_CTL_OSC_FAILSAFE_LMT | ( | x | ) |
OSC_FAILSAFE_LMT - Oscillator fail safe limit. 0b00..The limit N is 4096 (2^12) system clocks. 0b01..The limit N is 65536 (2^16) system clocks. (default) 0b10..N is 2^20 system clocks. 0b11..N is 2^22 system clocks (full range of the counter being used).
OSC_FAILSAFE_LMT - Test point inside ring oscillator 2.
| #define TRNG_OSC2_CTL_OSC_FAILSAFE_TEST | ( | x | ) |
OSC_FAILSAFE_TEST - Oscillator fail safe test. 0b0..No impact. 0b1..Disables oscillator 2 while in dual-oscillator mode (TRNG_ENT_CTL = 01b).
OSC_FAILSAFE_TEST - Test point inside ring oscillator 2.
| #define TRNG_VID1_MIN_REV | ( | x | ) |
MIN_REV 0b00001011..Minor revision number for TRNG.
MIN_REV 0b00000100..Minor revision number for TRNG.
| #define TRNG_VID1_MAJ_REV | ( | x | ) |
MAJ_REV 0b00010100..Major revision number for TRNG.
| #define TRNG_VID1_IP_ID | ( | x | ) |
IP_ID 0b0000000000110000..ID for TRNG.
| #define TRNG_VID2_CONFIG_OPT | ( | x | ) |
CONFIG_OPT 0b00000000..TRNG_CONFIG_OPT for TRNG.
| #define TRNG_VID2_ECO_REV | ( | x | ) |
ECO_REV 0b00000000..TRNG_ECO_REV for TRNG.
ECO_REV 0b00000001..TRNG_ECO_REV for TRNG.
| #define TRNG_VID2_INTG_OPT | ( | x | ) |
INTG_OPT 0b00001010..INTG_OPT for TRNG.
| #define TRNG_VID2_ERA | ( | x | ) |
ERA 0b00001011..ERA of the TRNG.
ERA 0b00001011..COMPILE_OPT for TRNG.
| #define TRNG_MCTL_OSC_DIV | ( | x | ) |
OSC_DIV 0b00..use ring oscillator with no divide 0b01..use ring oscillator divided-by-2 0b10..use ring oscillator divided-by-4 0b11..use ring oscillator divided-by-8
| #define TRNG_MCTL_OSC2_FAIL | ( | x | ) |
OSC2_FAIL - Oscillator 2 Failure
| #define TRNG_SEC_CFG_NO_PRGM | ( | x | ) |
NO_PRGM 0b0..Programability of registers controlled only by the Miscellaneous Control Register's access mode bit. 0b1..Overides Miscellaneous Control Register access mode and prevents TRNG register programming.
| #define TRNG_INT_CTRL_HW_ERR | ( | x | ) |
HW_ERR 0b0..Corresponding bit of INT_STATUS register cleared. 0b1..Corresponding bit of INT_STATUS register active.
| #define TRNG_INT_CTRL_ENT_VAL | ( | x | ) |
ENT_VAL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_CTRL_FRQ_CT_FAIL | ( | x | ) |
FRQ_CT_FAIL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_MASK_HW_ERR | ( | x | ) |
HW_ERR 0b0..Corresponding interrupt of INT_STATUS is masked. 0b1..Corresponding bit of INT_STATUS is active.
| #define TRNG_INT_MASK_ENT_VAL | ( | x | ) |
ENT_VAL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_MASK_FRQ_CT_FAIL | ( | x | ) |
FRQ_CT_FAIL 0b0..Same behavior as bit 0 of this register. 0b1..Same behavior as bit 0 of this register.
| #define TRNG_INT_STATUS_HW_ERR | ( | x | ) |
HW_ERR 0b0..no error 0b1..error detected.
| #define TRNG_INT_STATUS_ENT_VAL | ( | x | ) |
ENT_VAL 0b0..Busy generation entropy. Any value read is invalid. 0b1..TRNG can be stopped and entropy is valid if read.
| #define TRNG_INT_STATUS_FRQ_CT_FAIL | ( | x | ) |
FRQ_CT_FAIL 0b0..No hardware nor self test frequency errors. 0b1..The frequency counter has detected a failure.
| #define TRNG_OSC2_CTL_TRNG_ENT_CTL | ( | x | ) |
TRNG_ENT_CTL - TRNG entropy generation control.
| #define TRNG_OSC2_CTL_OSC2_DIV | ( | x | ) |
OSC2_DIV - Oscillator 2 divide control
| #define TRNG_OSC2_CTL_OSC2_OUT_EN | ( | x | ) |
OSC2_OUT_EN - Oscillator 2 Output Enable.
| #define TRNG_OSC2_CTL_OSC2_FCT_VAL | ( | x | ) |
OSC2_FCT_VAL - TRNG Oscillator 2 Frequency Count Valid
| #define TRNG_OSC2_CTL_OSC2_TST_OUT | ( | x | ) |
OSC2_TST_OUT - Test point inside ring oscillator 2.
| #define TRNG_OSC2_CTL_OSC_FAILSAFE_LMT | ( | x | ) |
OSC_FAILSAFE_LMT - Test point inside ring oscillator 2.
| #define TRNG_OSC2_CTL_OSC_FAILSAFE_TEST | ( | x | ) |
OSC_FAILSAFE_TEST - Test point inside ring oscillator 2.
| #define TRNG_VID1_MIN_REV | ( | x | ) |
MIN_REV 0b00000100..Minor revision number for TRNG.
| #define TRNG_VID1_MAJ_REV | ( | x | ) |
MAJ_REV 0b00010100..Major revision number for TRNG.
| #define TRNG_VID1_IP_ID | ( | x | ) |
IP_ID 0b0000000000110000..ID for TRNG.
| #define TRNG_VID2_CONFIG_OPT | ( | x | ) |
CONFIG_OPT 0b00000000..TRNG_CONFIG_OPT for TRNG.
| #define TRNG_VID2_ECO_REV | ( | x | ) |
ECO_REV 0b00000001..TRNG_ECO_REV for TRNG.
| #define TRNG_VID2_INTG_OPT | ( | x | ) |
INTG_OPT 0b00001010..INTG_OPT for TRNG.
| #define TRNG_VID2_ERA | ( | x | ) |
ERA 0b00001011..COMPILE_OPT for TRNG.