Searched refs:KS (Results 1 – 3 of 3) sorted by relevance
37 if((KS->STS & KS_STS_INITDONE_Msk) == 0) in KS_Open()41 while(KS->STS & KS_STS_BUSY_Msk) in KS_Open()50 KS->CTL = KS_CTL_INIT_Msk | KS_CTL_START_Msk; in KS_Open()54 while((KS->STS & KS_STS_INITDONE_Msk) == 0) in KS_Open()65 while(KS->STS & KS_STS_BUSY_Msk) in KS_Open()116 if(KS->STS & KS_STS_BUSY_Msk) in KS_Read()120 while(KS->STS & KS_STS_BUSY_Msk) in KS_Read()128 KS->METADATA = ((uint32_t)eType << KS_METADATA_DST_Pos) | KS_TOMETAKEY(i32KeyIdx); in KS_Read()131 KS->STS = KS_STS_EIF_Msk; in KS_Read()138 KS->STS = KS_STS_EIF_Msk | KS_STS_IF_Msk; in KS_Read()[all …]
105 #define KS_SCRAMBLING() KS->CTL |= KS_CTL_SCMB_Msk
475 #define KS ((KS_T *) KS_BASE) macro