Classes | Macros
Synchronous Serial Controller

Classes

struct  Ssc
 Ssc hardware registers. More...
 

Macros

#define SSC_CMR_DIV(value)   ((SSC_CMR_DIV_Msk & ((value) << SSC_CMR_DIV_Pos)))
 
#define SSC_CMR_DIV_Msk   (0xfffu << SSC_CMR_DIV_Pos)
 (SSC_CMR) Clock Divider More...
 
#define SSC_CMR_DIV_Pos   0
 
#define SSC_CR_RXDIS   (0x1u << 1)
 (SSC_CR) Receive Disable More...
 
#define SSC_CR_RXEN   (0x1u << 0)
 (SSC_CR) Receive Enable More...
 
#define SSC_CR_SWRST   (0x1u << 15)
 (SSC_CR) Software Reset More...
 
#define SSC_CR_TXDIS   (0x1u << 9)
 (SSC_CR) Transmit Disable More...
 
#define SSC_CR_TXEN   (0x1u << 8)
 (SSC_CR) Transmit Enable More...
 
#define SSC_IDR_CP0   (0x1u << 8)
 (SSC_IDR) Compare 0 Interrupt Disable More...
 
#define SSC_IDR_CP1   (0x1u << 9)
 (SSC_IDR) Compare 1 Interrupt Disable More...
 
#define SSC_IDR_OVRUN   (0x1u << 5)
 (SSC_IDR) Receive Overrun Interrupt Disable More...
 
#define SSC_IDR_RXRDY   (0x1u << 4)
 (SSC_IDR) Receive Ready Interrupt Disable More...
 
#define SSC_IDR_RXSYN   (0x1u << 11)
 (SSC_IDR) Rx Sync Interrupt Enable More...
 
#define SSC_IDR_TXEMPTY   (0x1u << 1)
 (SSC_IDR) Transmit Empty Interrupt Disable More...
 
#define SSC_IDR_TXRDY   (0x1u << 0)
 (SSC_IDR) Transmit Ready Interrupt Disable More...
 
#define SSC_IDR_TXSYN   (0x1u << 10)
 (SSC_IDR) Tx Sync Interrupt Enable More...
 
#define SSC_IER_CP0   (0x1u << 8)
 (SSC_IER) Compare 0 Interrupt Enable More...
 
#define SSC_IER_CP1   (0x1u << 9)
 (SSC_IER) Compare 1 Interrupt Enable More...
 
#define SSC_IER_OVRUN   (0x1u << 5)
 (SSC_IER) Receive Overrun Interrupt Enable More...
 
#define SSC_IER_RXRDY   (0x1u << 4)
 (SSC_IER) Receive Ready Interrupt Enable More...
 
#define SSC_IER_RXSYN   (0x1u << 11)
 (SSC_IER) Rx Sync Interrupt Enable More...
 
#define SSC_IER_TXEMPTY   (0x1u << 1)
 (SSC_IER) Transmit Empty Interrupt Enable More...
 
#define SSC_IER_TXRDY   (0x1u << 0)
 (SSC_IER) Transmit Ready Interrupt Enable More...
 
#define SSC_IER_TXSYN   (0x1u << 10)
 (SSC_IER) Tx Sync Interrupt Enable More...
 
#define SSC_IMR_CP0   (0x1u << 8)
 (SSC_IMR) Compare 0 Interrupt Mask More...
 
#define SSC_IMR_CP1   (0x1u << 9)
 (SSC_IMR) Compare 1 Interrupt Mask More...
 
#define SSC_IMR_OVRUN   (0x1u << 5)
 (SSC_IMR) Receive Overrun Interrupt Mask More...
 
#define SSC_IMR_RXRDY   (0x1u << 4)
 (SSC_IMR) Receive Ready Interrupt Mask More...
 
#define SSC_IMR_RXSYN   (0x1u << 11)
 (SSC_IMR) Rx Sync Interrupt Mask More...
 
#define SSC_IMR_TXEMPTY   (0x1u << 1)
 (SSC_IMR) Transmit Empty Interrupt Mask More...
 
#define SSC_IMR_TXRDY   (0x1u << 0)
 (SSC_IMR) Transmit Ready Interrupt Mask More...
 
#define SSC_IMR_TXSYN   (0x1u << 10)
 (SSC_IMR) Tx Sync Interrupt Mask More...
 
#define SSC_RC0R_CP0(value)   ((SSC_RC0R_CP0_Msk & ((value) << SSC_RC0R_CP0_Pos)))
 
#define SSC_RC0R_CP0_Msk   (0xffffu << SSC_RC0R_CP0_Pos)
 (SSC_RC0R) Receive Compare Data 0 More...
 
#define SSC_RC0R_CP0_Pos   0
 
#define SSC_RC1R_CP1(value)   ((SSC_RC1R_CP1_Msk & ((value) << SSC_RC1R_CP1_Pos)))
 
#define SSC_RC1R_CP1_Msk   (0xffffu << SSC_RC1R_CP1_Pos)
 (SSC_RC1R) Receive Compare Data 1 More...
 
#define SSC_RC1R_CP1_Pos   0
 
#define SSC_RCMR_CKG(value)   ((SSC_RCMR_CKG_Msk & ((value) << SSC_RCMR_CKG_Pos)))
 
#define SSC_RCMR_CKG_CONTINUOUS   (0x0u << 6)
 (SSC_RCMR) None More...
 
#define SSC_RCMR_CKG_EN_RF_HIGH   (0x2u << 6)
 (SSC_RCMR) Receive Clock enabled only if RF High More...
 
#define SSC_RCMR_CKG_EN_RF_LOW   (0x1u << 6)
 (SSC_RCMR) Receive Clock enabled only if RF Low More...
 
#define SSC_RCMR_CKG_Msk   (0x3u << SSC_RCMR_CKG_Pos)
 (SSC_RCMR) Receive Clock Gating Selection More...
 
#define SSC_RCMR_CKG_Pos   6
 
#define SSC_RCMR_CKI   (0x1u << 5)
 (SSC_RCMR) Receive Clock Inversion More...
 
#define SSC_RCMR_CKO(value)   ((SSC_RCMR_CKO_Msk & ((value) << SSC_RCMR_CKO_Pos)))
 
#define SSC_RCMR_CKO_CONTINUOUS   (0x1u << 2)
 (SSC_RCMR) Continuous Receive Clock, RK pin is an output More...
 
#define SSC_RCMR_CKO_Msk   (0x7u << SSC_RCMR_CKO_Pos)
 (SSC_RCMR) Receive Clock Output Mode Selection More...
 
#define SSC_RCMR_CKO_NONE   (0x0u << 2)
 (SSC_RCMR) None, RK pin is an input More...
 
#define SSC_RCMR_CKO_Pos   2
 
#define SSC_RCMR_CKO_TRANSFER   (0x2u << 2)
 (SSC_RCMR) Receive Clock only during data transfers, RK pin is an output More...
 
#define SSC_RCMR_CKS(value)   ((SSC_RCMR_CKS_Msk & ((value) << SSC_RCMR_CKS_Pos)))
 
#define SSC_RCMR_CKS_MCK   (0x0u << 0)
 (SSC_RCMR) Divided Clock More...
 
#define SSC_RCMR_CKS_Msk   (0x3u << SSC_RCMR_CKS_Pos)
 (SSC_RCMR) Receive Clock Selection More...
 
#define SSC_RCMR_CKS_Pos   0
 
#define SSC_RCMR_CKS_RK   (0x2u << 0)
 (SSC_RCMR) RK pin More...
 
#define SSC_RCMR_CKS_TK   (0x1u << 0)
 (SSC_RCMR) TK Clock signal More...
 
#define SSC_RCMR_PERIOD(value)   ((SSC_RCMR_PERIOD_Msk & ((value) << SSC_RCMR_PERIOD_Pos)))
 
#define SSC_RCMR_PERIOD_Msk   (0xffu << SSC_RCMR_PERIOD_Pos)
 (SSC_RCMR) Receive Period Divider Selection More...
 
#define SSC_RCMR_PERIOD_Pos   24
 
#define SSC_RCMR_START(value)   ((SSC_RCMR_START_Msk & ((value) << SSC_RCMR_START_Pos)))
 
#define SSC_RCMR_START_CMP_0   (0x8u << 8)
 (SSC_RCMR) Compare 0 More...
 
#define SSC_RCMR_START_CONTINUOUS   (0x0u << 8)
 (SSC_RCMR) Continuous, as soon as the receiver is enabled, and immediately after the end of transfer of the previous data. More...
 
#define SSC_RCMR_START_Msk   (0xfu << SSC_RCMR_START_Pos)
 (SSC_RCMR) Receive Start Selection More...
 
#define SSC_RCMR_START_Pos   8
 
#define SSC_RCMR_START_RF_EDGE   (0x7u << 8)
 (SSC_RCMR) Detection of any edge on RF signal More...
 
#define SSC_RCMR_START_RF_FALLING   (0x4u << 8)
 (SSC_RCMR) Detection of a falling edge on RF signal More...
 
#define SSC_RCMR_START_RF_HIGH   (0x3u << 8)
 (SSC_RCMR) Detection of a high level on RF signal More...
 
#define SSC_RCMR_START_RF_LEVEL   (0x6u << 8)
 (SSC_RCMR) Detection of any level change on RF signal More...
 
#define SSC_RCMR_START_RF_LOW   (0x2u << 8)
 (SSC_RCMR) Detection of a low level on RF signal More...
 
#define SSC_RCMR_START_RF_RISING   (0x5u << 8)
 (SSC_RCMR) Detection of a rising edge on RF signal More...
 
#define SSC_RCMR_START_TRANSMIT   (0x1u << 8)
 (SSC_RCMR) Transmit start More...
 
#define SSC_RCMR_STOP   (0x1u << 12)
 (SSC_RCMR) Receive Stop Selection More...
 
#define SSC_RCMR_STTDLY(value)   ((SSC_RCMR_STTDLY_Msk & ((value) << SSC_RCMR_STTDLY_Pos)))
 
#define SSC_RCMR_STTDLY_Msk   (0xffu << SSC_RCMR_STTDLY_Pos)
 (SSC_RCMR) Receive Start Delay More...
 
#define SSC_RCMR_STTDLY_Pos   16
 
#define SSC_RFMR_DATLEN(value)   ((SSC_RFMR_DATLEN_Msk & ((value) << SSC_RFMR_DATLEN_Pos)))
 
#define SSC_RFMR_DATLEN_Msk   (0x1fu << SSC_RFMR_DATLEN_Pos)
 (SSC_RFMR) Data Length More...
 
#define SSC_RFMR_DATLEN_Pos   0
 
#define SSC_RFMR_DATNB(value)   ((SSC_RFMR_DATNB_Msk & ((value) << SSC_RFMR_DATNB_Pos)))
 
#define SSC_RFMR_DATNB_Msk   (0xfu << SSC_RFMR_DATNB_Pos)
 (SSC_RFMR) Data Number per Frame More...
 
#define SSC_RFMR_DATNB_Pos   8
 
#define SSC_RFMR_FSEDGE   (0x1u << 24)
 (SSC_RFMR) Frame Sync Edge Detection More...
 
#define SSC_RFMR_FSEDGE_NEGATIVE   (0x1u << 24)
 (SSC_RFMR) Negative Edge Detection More...
 
#define SSC_RFMR_FSEDGE_POSITIVE   (0x0u << 24)
 (SSC_RFMR) Positive Edge Detection More...
 
#define SSC_RFMR_FSLEN(value)   ((SSC_RFMR_FSLEN_Msk & ((value) << SSC_RFMR_FSLEN_Pos)))
 
#define SSC_RFMR_FSLEN_EXT(value)   ((SSC_RFMR_FSLEN_EXT_Msk & ((value) << SSC_RFMR_FSLEN_EXT_Pos)))
 
#define SSC_RFMR_FSLEN_EXT_Msk   (0xfu << SSC_RFMR_FSLEN_EXT_Pos)
 (SSC_RFMR) FSLEN Field Extension More...
 
#define SSC_RFMR_FSLEN_EXT_Pos   28
 
#define SSC_RFMR_FSLEN_Msk   (0xfu << SSC_RFMR_FSLEN_Pos)
 (SSC_RFMR) Receive Frame Sync Length More...
 
#define SSC_RFMR_FSLEN_Pos   16
 
#define SSC_RFMR_FSOS(value)   ((SSC_RFMR_FSOS_Msk & ((value) << SSC_RFMR_FSOS_Pos)))
 
#define SSC_RFMR_FSOS_HIGH   (0x4u << 20)
 (SSC_RFMR) Driven High during data transfer, RF pin is an output More...
 
#define SSC_RFMR_FSOS_LOW   (0x3u << 20)
 (SSC_RFMR) Driven Low during data transfer, RF pin is an output More...
 
#define SSC_RFMR_FSOS_Msk   (0x7u << SSC_RFMR_FSOS_Pos)
 (SSC_RFMR) Receive Frame Sync Output Selection More...
 
#define SSC_RFMR_FSOS_NEGATIVE   (0x1u << 20)
 (SSC_RFMR) Negative Pulse, RF pin is an output More...
 
#define SSC_RFMR_FSOS_NONE   (0x0u << 20)
 (SSC_RFMR) None, RF pin is an input More...
 
#define SSC_RFMR_FSOS_Pos   20
 
#define SSC_RFMR_FSOS_POSITIVE   (0x2u << 20)
 (SSC_RFMR) Positive Pulse, RF pin is an output More...
 
#define SSC_RFMR_FSOS_TOGGLING   (0x5u << 20)
 (SSC_RFMR) Toggling at each start of data transfer, RF pin is an output More...
 
#define SSC_RFMR_LOOP   (0x1u << 5)
 (SSC_RFMR) Loop Mode More...
 
#define SSC_RFMR_MSBF   (0x1u << 7)
 (SSC_RFMR) Most Significant Bit First More...
 
#define SSC_RHR_RDAT_Msk   (0xffffffffu << SSC_RHR_RDAT_Pos)
 (SSC_RHR) Receive Data More...
 
#define SSC_RHR_RDAT_Pos   0
 
#define SSC_RSHR_RSDAT_Msk   (0xffffu << SSC_RSHR_RSDAT_Pos)
 (SSC_RSHR) Receive Synchronization Data More...
 
#define SSC_RSHR_RSDAT_Pos   0
 
#define SSC_SR_CP0   (0x1u << 8)
 (SSC_SR) Compare 0 More...
 
#define SSC_SR_CP1   (0x1u << 9)
 (SSC_SR) Compare 1 More...
 
#define SSC_SR_OVRUN   (0x1u << 5)
 (SSC_SR) Receive Overrun More...
 
#define SSC_SR_RXEN   (0x1u << 17)
 (SSC_SR) Receive Enable More...
 
#define SSC_SR_RXRDY   (0x1u << 4)
 (SSC_SR) Receive Ready More...
 
#define SSC_SR_RXSYN   (0x1u << 11)
 (SSC_SR) Receive Sync More...
 
#define SSC_SR_TXEMPTY   (0x1u << 1)
 (SSC_SR) Transmit Empty More...
 
#define SSC_SR_TXEN   (0x1u << 16)
 (SSC_SR) Transmit Enable More...
 
#define SSC_SR_TXRDY   (0x1u << 0)
 (SSC_SR) Transmit Ready More...
 
#define SSC_SR_TXSYN   (0x1u << 10)
 (SSC_SR) Transmit Sync More...
 
#define SSC_TCMR_CKG(value)   ((SSC_TCMR_CKG_Msk & ((value) << SSC_TCMR_CKG_Pos)))
 
#define SSC_TCMR_CKG_CONTINUOUS   (0x0u << 6)
 (SSC_TCMR) None More...
 
#define SSC_TCMR_CKG_EN_TF_HIGH   (0x2u << 6)
 (SSC_TCMR) Transmit Clock enabled only if TF High More...
 
#define SSC_TCMR_CKG_EN_TF_LOW   (0x1u << 6)
 (SSC_TCMR) Transmit Clock enabled only if TF Low More...
 
#define SSC_TCMR_CKG_Msk   (0x3u << SSC_TCMR_CKG_Pos)
 (SSC_TCMR) Transmit Clock Gating Selection More...
 
#define SSC_TCMR_CKG_Pos   6
 
#define SSC_TCMR_CKI   (0x1u << 5)
 (SSC_TCMR) Transmit Clock Inversion More...
 
#define SSC_TCMR_CKO(value)   ((SSC_TCMR_CKO_Msk & ((value) << SSC_TCMR_CKO_Pos)))
 
#define SSC_TCMR_CKO_CONTINUOUS   (0x1u << 2)
 (SSC_TCMR) Continuous Transmit Clock, TK pin is an output More...
 
#define SSC_TCMR_CKO_Msk   (0x7u << SSC_TCMR_CKO_Pos)
 (SSC_TCMR) Transmit Clock Output Mode Selection More...
 
#define SSC_TCMR_CKO_NONE   (0x0u << 2)
 (SSC_TCMR) None, TK pin is an input More...
 
#define SSC_TCMR_CKO_Pos   2
 
#define SSC_TCMR_CKO_TRANSFER   (0x2u << 2)
 (SSC_TCMR) Transmit Clock only during data transfers, TK pin is an output More...
 
#define SSC_TCMR_CKS(value)   ((SSC_TCMR_CKS_Msk & ((value) << SSC_TCMR_CKS_Pos)))
 
#define SSC_TCMR_CKS_MCK   (0x0u << 0)
 (SSC_TCMR) Divided Clock More...
 
#define SSC_TCMR_CKS_Msk   (0x3u << SSC_TCMR_CKS_Pos)
 (SSC_TCMR) Transmit Clock Selection More...
 
#define SSC_TCMR_CKS_Pos   0
 
#define SSC_TCMR_CKS_RK   (0x1u << 0)
 (SSC_TCMR) RK Clock signal More...
 
#define SSC_TCMR_CKS_TK   (0x2u << 0)
 (SSC_TCMR) TK pin More...
 
#define SSC_TCMR_PERIOD(value)   ((SSC_TCMR_PERIOD_Msk & ((value) << SSC_TCMR_PERIOD_Pos)))
 
#define SSC_TCMR_PERIOD_Msk   (0xffu << SSC_TCMR_PERIOD_Pos)
 (SSC_TCMR) Transmit Period Divider Selection More...
 
#define SSC_TCMR_PERIOD_Pos   24
 
#define SSC_TCMR_START(value)   ((SSC_TCMR_START_Msk & ((value) << SSC_TCMR_START_Pos)))
 
#define SSC_TCMR_START_CONTINUOUS   (0x0u << 8)
 (SSC_TCMR) Continuous, as soon as a word is written in the SSC_THR (if Transmit is enabled), and immediately after the end of transfer of the previous data More...
 
#define SSC_TCMR_START_Msk   (0xfu << SSC_TCMR_START_Pos)
 (SSC_TCMR) Transmit Start Selection More...
 
#define SSC_TCMR_START_Pos   8
 
#define SSC_TCMR_START_RECEIVE   (0x1u << 8)
 (SSC_TCMR) Receive start More...
 
#define SSC_TCMR_START_TF_EDGE   (0x7u << 8)
 (SSC_TCMR) Detection of any edge on TF signal More...
 
#define SSC_TCMR_START_TF_FALLING   (0x4u << 8)
 (SSC_TCMR) Detection of a falling edge on TF signal More...
 
#define SSC_TCMR_START_TF_HIGH   (0x3u << 8)
 (SSC_TCMR) Detection of a high level on TF signal More...
 
#define SSC_TCMR_START_TF_LEVEL   (0x6u << 8)
 (SSC_TCMR) Detection of any level change on TF signal More...
 
#define SSC_TCMR_START_TF_LOW   (0x2u << 8)
 (SSC_TCMR) Detection of a low level on TF signal More...
 
#define SSC_TCMR_START_TF_RISING   (0x5u << 8)
 (SSC_TCMR) Detection of a rising edge on TF signal More...
 
#define SSC_TCMR_STTDLY(value)   ((SSC_TCMR_STTDLY_Msk & ((value) << SSC_TCMR_STTDLY_Pos)))
 
#define SSC_TCMR_STTDLY_Msk   (0xffu << SSC_TCMR_STTDLY_Pos)
 (SSC_TCMR) Transmit Start Delay More...
 
#define SSC_TCMR_STTDLY_Pos   16
 
#define SSC_TFMR_DATDEF   (0x1u << 5)
 (SSC_TFMR) Data Default Value More...
 
#define SSC_TFMR_DATLEN(value)   ((SSC_TFMR_DATLEN_Msk & ((value) << SSC_TFMR_DATLEN_Pos)))
 
#define SSC_TFMR_DATLEN_Msk   (0x1fu << SSC_TFMR_DATLEN_Pos)
 (SSC_TFMR) Data Length More...
 
#define SSC_TFMR_DATLEN_Pos   0
 
#define SSC_TFMR_DATNB(value)   ((SSC_TFMR_DATNB_Msk & ((value) << SSC_TFMR_DATNB_Pos)))
 
#define SSC_TFMR_DATNB_Msk   (0xfu << SSC_TFMR_DATNB_Pos)
 (SSC_TFMR) Data Number per Frame More...
 
#define SSC_TFMR_DATNB_Pos   8
 
#define SSC_TFMR_FSDEN   (0x1u << 23)
 (SSC_TFMR) Frame Sync Data Enable More...
 
#define SSC_TFMR_FSEDGE   (0x1u << 24)
 (SSC_TFMR) Frame Sync Edge Detection More...
 
#define SSC_TFMR_FSEDGE_NEGATIVE   (0x1u << 24)
 (SSC_TFMR) Negative Edge Detection More...
 
#define SSC_TFMR_FSEDGE_POSITIVE   (0x0u << 24)
 (SSC_TFMR) Positive Edge Detection More...
 
#define SSC_TFMR_FSLEN(value)   ((SSC_TFMR_FSLEN_Msk & ((value) << SSC_TFMR_FSLEN_Pos)))
 
#define SSC_TFMR_FSLEN_EXT(value)   ((SSC_TFMR_FSLEN_EXT_Msk & ((value) << SSC_TFMR_FSLEN_EXT_Pos)))
 
#define SSC_TFMR_FSLEN_EXT_Msk   (0xfu << SSC_TFMR_FSLEN_EXT_Pos)
 (SSC_TFMR) FSLEN Field Extension More...
 
#define SSC_TFMR_FSLEN_EXT_Pos   28
 
#define SSC_TFMR_FSLEN_Msk   (0xfu << SSC_TFMR_FSLEN_Pos)
 (SSC_TFMR) Transmit Frame Sync Length More...
 
#define SSC_TFMR_FSLEN_Pos   16
 
#define SSC_TFMR_FSOS(value)   ((SSC_TFMR_FSOS_Msk & ((value) << SSC_TFMR_FSOS_Pos)))
 
#define SSC_TFMR_FSOS_HIGH   (0x4u << 20)
 (SSC_TFMR) Driven High during data transfer More...
 
#define SSC_TFMR_FSOS_LOW   (0x3u << 20)
 (SSC_TFMR) Driven Low during data transfer More...
 
#define SSC_TFMR_FSOS_Msk   (0x7u << SSC_TFMR_FSOS_Pos)
 (SSC_TFMR) Transmit Frame Sync Output Selection More...
 
#define SSC_TFMR_FSOS_NEGATIVE   (0x1u << 20)
 (SSC_TFMR) Negative Pulse, TF pin is an output More...
 
#define SSC_TFMR_FSOS_NONE   (0x0u << 20)
 (SSC_TFMR) None, TF pin is an input More...
 
#define SSC_TFMR_FSOS_Pos   20
 
#define SSC_TFMR_FSOS_POSITIVE   (0x2u << 20)
 (SSC_TFMR) Positive Pulse, TF pin is an output More...
 
#define SSC_TFMR_FSOS_TOGGLING   (0x5u << 20)
 (SSC_TFMR) Toggling at each start of data transfer More...
 
#define SSC_TFMR_MSBF   (0x1u << 7)
 (SSC_TFMR) Most Significant Bit First More...
 
#define SSC_THR_TDAT(value)   ((SSC_THR_TDAT_Msk & ((value) << SSC_THR_TDAT_Pos)))
 
#define SSC_THR_TDAT_Msk   (0xffffffffu << SSC_THR_TDAT_Pos)
 (SSC_THR) Transmit Data More...
 
#define SSC_THR_TDAT_Pos   0
 
#define SSC_TSHR_TSDAT(value)   ((SSC_TSHR_TSDAT_Msk & ((value) << SSC_TSHR_TSDAT_Pos)))
 
#define SSC_TSHR_TSDAT_Msk   (0xffffu << SSC_TSHR_TSDAT_Pos)
 (SSC_TSHR) Transmit Synchronization Data More...
 
#define SSC_TSHR_TSDAT_Pos   0
 
#define SSC_VERSION_MFN_Msk   (0x7u << SSC_VERSION_MFN_Pos)
 (SSC_VERSION) Metal Fix Number More...
 
#define SSC_VERSION_MFN_Pos   16
 
#define SSC_VERSION_VERSION_Msk   (0xffffu << SSC_VERSION_VERSION_Pos)
 (SSC_VERSION) Version of the Hardware Module More...
 
#define SSC_VERSION_VERSION_Pos   0
 
#define SSC_WPMR_WPEN   (0x1u << 0)
 (SSC_WPMR) Write Protection Enable More...
 
#define SSC_WPMR_WPKEY(value)   ((SSC_WPMR_WPKEY_Msk & ((value) << SSC_WPMR_WPKEY_Pos)))
 
#define SSC_WPMR_WPKEY_Msk   (0xffffffu << SSC_WPMR_WPKEY_Pos)
 (SSC_WPMR) Write Protection Key More...
 
#define SSC_WPMR_WPKEY_PASSWD   (0x535343u << 8)
 (SSC_WPMR) Writing any other value in this field aborts the write operation of the WPEN bit.Always reads as 0. More...
 
#define SSC_WPMR_WPKEY_Pos   8
 
#define SSC_WPSR_WPVS   (0x1u << 0)
 (SSC_WPSR) Write Protection Violation Status More...
 
#define SSC_WPSR_WPVSRC_Msk   (0xffffu << SSC_WPSR_WPVSRC_Pos)
 (SSC_WPSR) Write Protect Violation Source More...
 
#define SSC_WPSR_WPVSRC_Pos   8
 

Detailed Description

SOFTWARE API DEFINITION FOR Synchronous Serial Controller

Macro Definition Documentation

◆ SSC_CMR_DIV

#define SSC_CMR_DIV (   value)    ((SSC_CMR_DIV_Msk & ((value) << SSC_CMR_DIV_Pos)))

Definition at line 81 of file component/ssc.h.

◆ SSC_CMR_DIV_Msk

#define SSC_CMR_DIV_Msk   (0xfffu << SSC_CMR_DIV_Pos)

(SSC_CMR) Clock Divider

Definition at line 80 of file component/ssc.h.

◆ SSC_CMR_DIV_Pos

#define SSC_CMR_DIV_Pos   0

Definition at line 79 of file component/ssc.h.

◆ SSC_CR_RXDIS

#define SSC_CR_RXDIS   (0x1u << 1)

(SSC_CR) Receive Disable

Definition at line 74 of file component/ssc.h.

◆ SSC_CR_RXEN

#define SSC_CR_RXEN   (0x1u << 0)

(SSC_CR) Receive Enable

Definition at line 73 of file component/ssc.h.

◆ SSC_CR_SWRST

#define SSC_CR_SWRST   (0x1u << 15)

(SSC_CR) Software Reset

Definition at line 77 of file component/ssc.h.

◆ SSC_CR_TXDIS

#define SSC_CR_TXDIS   (0x1u << 9)

(SSC_CR) Transmit Disable

Definition at line 76 of file component/ssc.h.

◆ SSC_CR_TXEN

#define SSC_CR_TXEN   (0x1u << 8)

(SSC_CR) Transmit Enable

Definition at line 75 of file component/ssc.h.

◆ SSC_IDR_CP0

#define SSC_IDR_CP0   (0x1u << 8)

(SSC_IDR) Compare 0 Interrupt Disable

Definition at line 260 of file component/ssc.h.

◆ SSC_IDR_CP1

#define SSC_IDR_CP1   (0x1u << 9)

(SSC_IDR) Compare 1 Interrupt Disable

Definition at line 261 of file component/ssc.h.

◆ SSC_IDR_OVRUN

#define SSC_IDR_OVRUN   (0x1u << 5)

(SSC_IDR) Receive Overrun Interrupt Disable

Definition at line 259 of file component/ssc.h.

◆ SSC_IDR_RXRDY

#define SSC_IDR_RXRDY   (0x1u << 4)

(SSC_IDR) Receive Ready Interrupt Disable

Definition at line 258 of file component/ssc.h.

◆ SSC_IDR_RXSYN

#define SSC_IDR_RXSYN   (0x1u << 11)

(SSC_IDR) Rx Sync Interrupt Enable

Definition at line 263 of file component/ssc.h.

◆ SSC_IDR_TXEMPTY

#define SSC_IDR_TXEMPTY   (0x1u << 1)

(SSC_IDR) Transmit Empty Interrupt Disable

Definition at line 257 of file component/ssc.h.

◆ SSC_IDR_TXRDY

#define SSC_IDR_TXRDY   (0x1u << 0)

(SSC_IDR) Transmit Ready Interrupt Disable

Definition at line 256 of file component/ssc.h.

◆ SSC_IDR_TXSYN

#define SSC_IDR_TXSYN   (0x1u << 10)

(SSC_IDR) Tx Sync Interrupt Enable

Definition at line 262 of file component/ssc.h.

◆ SSC_IER_CP0

#define SSC_IER_CP0   (0x1u << 8)

(SSC_IER) Compare 0 Interrupt Enable

Definition at line 251 of file component/ssc.h.

◆ SSC_IER_CP1

#define SSC_IER_CP1   (0x1u << 9)

(SSC_IER) Compare 1 Interrupt Enable

Definition at line 252 of file component/ssc.h.

◆ SSC_IER_OVRUN

#define SSC_IER_OVRUN   (0x1u << 5)

(SSC_IER) Receive Overrun Interrupt Enable

Definition at line 250 of file component/ssc.h.

◆ SSC_IER_RXRDY

#define SSC_IER_RXRDY   (0x1u << 4)

(SSC_IER) Receive Ready Interrupt Enable

Definition at line 249 of file component/ssc.h.

◆ SSC_IER_RXSYN

#define SSC_IER_RXSYN   (0x1u << 11)

(SSC_IER) Rx Sync Interrupt Enable

Definition at line 254 of file component/ssc.h.

◆ SSC_IER_TXEMPTY

#define SSC_IER_TXEMPTY   (0x1u << 1)

(SSC_IER) Transmit Empty Interrupt Enable

Definition at line 248 of file component/ssc.h.

◆ SSC_IER_TXRDY

#define SSC_IER_TXRDY   (0x1u << 0)

(SSC_IER) Transmit Ready Interrupt Enable

Definition at line 247 of file component/ssc.h.

◆ SSC_IER_TXSYN

#define SSC_IER_TXSYN   (0x1u << 10)

(SSC_IER) Tx Sync Interrupt Enable

Definition at line 253 of file component/ssc.h.

◆ SSC_IMR_CP0

#define SSC_IMR_CP0   (0x1u << 8)

(SSC_IMR) Compare 0 Interrupt Mask

Definition at line 269 of file component/ssc.h.

◆ SSC_IMR_CP1

#define SSC_IMR_CP1   (0x1u << 9)

(SSC_IMR) Compare 1 Interrupt Mask

Definition at line 270 of file component/ssc.h.

◆ SSC_IMR_OVRUN

#define SSC_IMR_OVRUN   (0x1u << 5)

(SSC_IMR) Receive Overrun Interrupt Mask

Definition at line 268 of file component/ssc.h.

◆ SSC_IMR_RXRDY

#define SSC_IMR_RXRDY   (0x1u << 4)

(SSC_IMR) Receive Ready Interrupt Mask

Definition at line 267 of file component/ssc.h.

◆ SSC_IMR_RXSYN

#define SSC_IMR_RXSYN   (0x1u << 11)

(SSC_IMR) Rx Sync Interrupt Mask

Definition at line 272 of file component/ssc.h.

◆ SSC_IMR_TXEMPTY

#define SSC_IMR_TXEMPTY   (0x1u << 1)

(SSC_IMR) Transmit Empty Interrupt Mask

Definition at line 266 of file component/ssc.h.

◆ SSC_IMR_TXRDY

#define SSC_IMR_TXRDY   (0x1u << 0)

(SSC_IMR) Transmit Ready Interrupt Mask

Definition at line 265 of file component/ssc.h.

◆ SSC_IMR_TXSYN

#define SSC_IMR_TXSYN   (0x1u << 10)

(SSC_IMR) Tx Sync Interrupt Mask

Definition at line 271 of file component/ssc.h.

◆ SSC_RC0R_CP0

#define SSC_RC0R_CP0 (   value)    ((SSC_RC0R_CP0_Msk & ((value) << SSC_RC0R_CP0_Pos)))

Definition at line 230 of file component/ssc.h.

◆ SSC_RC0R_CP0_Msk

#define SSC_RC0R_CP0_Msk   (0xffffu << SSC_RC0R_CP0_Pos)

(SSC_RC0R) Receive Compare Data 0

Definition at line 229 of file component/ssc.h.

◆ SSC_RC0R_CP0_Pos

#define SSC_RC0R_CP0_Pos   0

Definition at line 228 of file component/ssc.h.

◆ SSC_RC1R_CP1

#define SSC_RC1R_CP1 (   value)    ((SSC_RC1R_CP1_Msk & ((value) << SSC_RC1R_CP1_Pos)))

Definition at line 234 of file component/ssc.h.

◆ SSC_RC1R_CP1_Msk

#define SSC_RC1R_CP1_Msk   (0xffffu << SSC_RC1R_CP1_Pos)

(SSC_RC1R) Receive Compare Data 1

Definition at line 233 of file component/ssc.h.

◆ SSC_RC1R_CP1_Pos

#define SSC_RC1R_CP1_Pos   0

Definition at line 232 of file component/ssc.h.

◆ SSC_RCMR_CKG

#define SSC_RCMR_CKG (   value)    ((SSC_RCMR_CKG_Msk & ((value) << SSC_RCMR_CKG_Pos)))

Definition at line 98 of file component/ssc.h.

◆ SSC_RCMR_CKG_CONTINUOUS

#define SSC_RCMR_CKG_CONTINUOUS   (0x0u << 6)

(SSC_RCMR) None

Definition at line 99 of file component/ssc.h.

◆ SSC_RCMR_CKG_EN_RF_HIGH

#define SSC_RCMR_CKG_EN_RF_HIGH   (0x2u << 6)

(SSC_RCMR) Receive Clock enabled only if RF High

Definition at line 101 of file component/ssc.h.

◆ SSC_RCMR_CKG_EN_RF_LOW

#define SSC_RCMR_CKG_EN_RF_LOW   (0x1u << 6)

(SSC_RCMR) Receive Clock enabled only if RF Low

Definition at line 100 of file component/ssc.h.

◆ SSC_RCMR_CKG_Msk

#define SSC_RCMR_CKG_Msk   (0x3u << SSC_RCMR_CKG_Pos)

(SSC_RCMR) Receive Clock Gating Selection

Definition at line 97 of file component/ssc.h.

◆ SSC_RCMR_CKG_Pos

#define SSC_RCMR_CKG_Pos   6

Definition at line 96 of file component/ssc.h.

◆ SSC_RCMR_CKI

#define SSC_RCMR_CKI   (0x1u << 5)

(SSC_RCMR) Receive Clock Inversion

Definition at line 95 of file component/ssc.h.

◆ SSC_RCMR_CKO

#define SSC_RCMR_CKO (   value)    ((SSC_RCMR_CKO_Msk & ((value) << SSC_RCMR_CKO_Pos)))

Definition at line 91 of file component/ssc.h.

◆ SSC_RCMR_CKO_CONTINUOUS

#define SSC_RCMR_CKO_CONTINUOUS   (0x1u << 2)

(SSC_RCMR) Continuous Receive Clock, RK pin is an output

Definition at line 93 of file component/ssc.h.

◆ SSC_RCMR_CKO_Msk

#define SSC_RCMR_CKO_Msk   (0x7u << SSC_RCMR_CKO_Pos)

(SSC_RCMR) Receive Clock Output Mode Selection

Definition at line 90 of file component/ssc.h.

◆ SSC_RCMR_CKO_NONE

#define SSC_RCMR_CKO_NONE   (0x0u << 2)

(SSC_RCMR) None, RK pin is an input

Definition at line 92 of file component/ssc.h.

◆ SSC_RCMR_CKO_Pos

#define SSC_RCMR_CKO_Pos   2

Definition at line 89 of file component/ssc.h.

◆ SSC_RCMR_CKO_TRANSFER

#define SSC_RCMR_CKO_TRANSFER   (0x2u << 2)

(SSC_RCMR) Receive Clock only during data transfers, RK pin is an output

Definition at line 94 of file component/ssc.h.

◆ SSC_RCMR_CKS

#define SSC_RCMR_CKS (   value)    ((SSC_RCMR_CKS_Msk & ((value) << SSC_RCMR_CKS_Pos)))

Definition at line 85 of file component/ssc.h.

◆ SSC_RCMR_CKS_MCK

#define SSC_RCMR_CKS_MCK   (0x0u << 0)

(SSC_RCMR) Divided Clock

Definition at line 86 of file component/ssc.h.

◆ SSC_RCMR_CKS_Msk

#define SSC_RCMR_CKS_Msk   (0x3u << SSC_RCMR_CKS_Pos)

(SSC_RCMR) Receive Clock Selection

Definition at line 84 of file component/ssc.h.

◆ SSC_RCMR_CKS_Pos

#define SSC_RCMR_CKS_Pos   0

Definition at line 83 of file component/ssc.h.

◆ SSC_RCMR_CKS_RK

#define SSC_RCMR_CKS_RK   (0x2u << 0)

(SSC_RCMR) RK pin

Definition at line 88 of file component/ssc.h.

◆ SSC_RCMR_CKS_TK

#define SSC_RCMR_CKS_TK   (0x1u << 0)

(SSC_RCMR) TK Clock signal

Definition at line 87 of file component/ssc.h.

◆ SSC_RCMR_PERIOD

#define SSC_RCMR_PERIOD (   value)    ((SSC_RCMR_PERIOD_Msk & ((value) << SSC_RCMR_PERIOD_Pos)))

Definition at line 120 of file component/ssc.h.

◆ SSC_RCMR_PERIOD_Msk

#define SSC_RCMR_PERIOD_Msk   (0xffu << SSC_RCMR_PERIOD_Pos)

(SSC_RCMR) Receive Period Divider Selection

Definition at line 119 of file component/ssc.h.

◆ SSC_RCMR_PERIOD_Pos

#define SSC_RCMR_PERIOD_Pos   24

Definition at line 118 of file component/ssc.h.

◆ SSC_RCMR_START

#define SSC_RCMR_START (   value)    ((SSC_RCMR_START_Msk & ((value) << SSC_RCMR_START_Pos)))

Definition at line 104 of file component/ssc.h.

◆ SSC_RCMR_START_CMP_0

#define SSC_RCMR_START_CMP_0   (0x8u << 8)

(SSC_RCMR) Compare 0

Definition at line 113 of file component/ssc.h.

◆ SSC_RCMR_START_CONTINUOUS

#define SSC_RCMR_START_CONTINUOUS   (0x0u << 8)

(SSC_RCMR) Continuous, as soon as the receiver is enabled, and immediately after the end of transfer of the previous data.

Definition at line 105 of file component/ssc.h.

◆ SSC_RCMR_START_Msk

#define SSC_RCMR_START_Msk   (0xfu << SSC_RCMR_START_Pos)

(SSC_RCMR) Receive Start Selection

Definition at line 103 of file component/ssc.h.

◆ SSC_RCMR_START_Pos

#define SSC_RCMR_START_Pos   8

Definition at line 102 of file component/ssc.h.

◆ SSC_RCMR_START_RF_EDGE

#define SSC_RCMR_START_RF_EDGE   (0x7u << 8)

(SSC_RCMR) Detection of any edge on RF signal

Definition at line 112 of file component/ssc.h.

◆ SSC_RCMR_START_RF_FALLING

#define SSC_RCMR_START_RF_FALLING   (0x4u << 8)

(SSC_RCMR) Detection of a falling edge on RF signal

Definition at line 109 of file component/ssc.h.

◆ SSC_RCMR_START_RF_HIGH

#define SSC_RCMR_START_RF_HIGH   (0x3u << 8)

(SSC_RCMR) Detection of a high level on RF signal

Definition at line 108 of file component/ssc.h.

◆ SSC_RCMR_START_RF_LEVEL

#define SSC_RCMR_START_RF_LEVEL   (0x6u << 8)

(SSC_RCMR) Detection of any level change on RF signal

Definition at line 111 of file component/ssc.h.

◆ SSC_RCMR_START_RF_LOW

#define SSC_RCMR_START_RF_LOW   (0x2u << 8)

(SSC_RCMR) Detection of a low level on RF signal

Definition at line 107 of file component/ssc.h.

◆ SSC_RCMR_START_RF_RISING

#define SSC_RCMR_START_RF_RISING   (0x5u << 8)

(SSC_RCMR) Detection of a rising edge on RF signal

Definition at line 110 of file component/ssc.h.

◆ SSC_RCMR_START_TRANSMIT

#define SSC_RCMR_START_TRANSMIT   (0x1u << 8)

(SSC_RCMR) Transmit start

Definition at line 106 of file component/ssc.h.

◆ SSC_RCMR_STOP

#define SSC_RCMR_STOP   (0x1u << 12)

(SSC_RCMR) Receive Stop Selection

Definition at line 114 of file component/ssc.h.

◆ SSC_RCMR_STTDLY

#define SSC_RCMR_STTDLY (   value)    ((SSC_RCMR_STTDLY_Msk & ((value) << SSC_RCMR_STTDLY_Pos)))

Definition at line 117 of file component/ssc.h.

◆ SSC_RCMR_STTDLY_Msk

#define SSC_RCMR_STTDLY_Msk   (0xffu << SSC_RCMR_STTDLY_Pos)

(SSC_RCMR) Receive Start Delay

Definition at line 116 of file component/ssc.h.

◆ SSC_RCMR_STTDLY_Pos

#define SSC_RCMR_STTDLY_Pos   16

Definition at line 115 of file component/ssc.h.

◆ SSC_RFMR_DATLEN

#define SSC_RFMR_DATLEN (   value)    ((SSC_RFMR_DATLEN_Msk & ((value) << SSC_RFMR_DATLEN_Pos)))

Definition at line 124 of file component/ssc.h.

◆ SSC_RFMR_DATLEN_Msk

#define SSC_RFMR_DATLEN_Msk   (0x1fu << SSC_RFMR_DATLEN_Pos)

(SSC_RFMR) Data Length

Definition at line 123 of file component/ssc.h.

◆ SSC_RFMR_DATLEN_Pos

#define SSC_RFMR_DATLEN_Pos   0

Definition at line 122 of file component/ssc.h.

◆ SSC_RFMR_DATNB

#define SSC_RFMR_DATNB (   value)    ((SSC_RFMR_DATNB_Msk & ((value) << SSC_RFMR_DATNB_Pos)))

Definition at line 129 of file component/ssc.h.

◆ SSC_RFMR_DATNB_Msk

#define SSC_RFMR_DATNB_Msk   (0xfu << SSC_RFMR_DATNB_Pos)

(SSC_RFMR) Data Number per Frame

Definition at line 128 of file component/ssc.h.

◆ SSC_RFMR_DATNB_Pos

#define SSC_RFMR_DATNB_Pos   8

Definition at line 127 of file component/ssc.h.

◆ SSC_RFMR_FSEDGE

#define SSC_RFMR_FSEDGE   (0x1u << 24)

(SSC_RFMR) Frame Sync Edge Detection

Definition at line 142 of file component/ssc.h.

◆ SSC_RFMR_FSEDGE_NEGATIVE

#define SSC_RFMR_FSEDGE_NEGATIVE   (0x1u << 24)

(SSC_RFMR) Negative Edge Detection

Definition at line 144 of file component/ssc.h.

◆ SSC_RFMR_FSEDGE_POSITIVE

#define SSC_RFMR_FSEDGE_POSITIVE   (0x0u << 24)

(SSC_RFMR) Positive Edge Detection

Definition at line 143 of file component/ssc.h.

◆ SSC_RFMR_FSLEN

#define SSC_RFMR_FSLEN (   value)    ((SSC_RFMR_FSLEN_Msk & ((value) << SSC_RFMR_FSLEN_Pos)))

Definition at line 132 of file component/ssc.h.

◆ SSC_RFMR_FSLEN_EXT

#define SSC_RFMR_FSLEN_EXT (   value)    ((SSC_RFMR_FSLEN_EXT_Msk & ((value) << SSC_RFMR_FSLEN_EXT_Pos)))

Definition at line 147 of file component/ssc.h.

◆ SSC_RFMR_FSLEN_EXT_Msk

#define SSC_RFMR_FSLEN_EXT_Msk   (0xfu << SSC_RFMR_FSLEN_EXT_Pos)

(SSC_RFMR) FSLEN Field Extension

Definition at line 146 of file component/ssc.h.

◆ SSC_RFMR_FSLEN_EXT_Pos

#define SSC_RFMR_FSLEN_EXT_Pos   28

Definition at line 145 of file component/ssc.h.

◆ SSC_RFMR_FSLEN_Msk

#define SSC_RFMR_FSLEN_Msk   (0xfu << SSC_RFMR_FSLEN_Pos)

(SSC_RFMR) Receive Frame Sync Length

Definition at line 131 of file component/ssc.h.

◆ SSC_RFMR_FSLEN_Pos

#define SSC_RFMR_FSLEN_Pos   16

Definition at line 130 of file component/ssc.h.

◆ SSC_RFMR_FSOS

#define SSC_RFMR_FSOS (   value)    ((SSC_RFMR_FSOS_Msk & ((value) << SSC_RFMR_FSOS_Pos)))

Definition at line 135 of file component/ssc.h.

◆ SSC_RFMR_FSOS_HIGH

#define SSC_RFMR_FSOS_HIGH   (0x4u << 20)

(SSC_RFMR) Driven High during data transfer, RF pin is an output

Definition at line 140 of file component/ssc.h.

◆ SSC_RFMR_FSOS_LOW

#define SSC_RFMR_FSOS_LOW   (0x3u << 20)

(SSC_RFMR) Driven Low during data transfer, RF pin is an output

Definition at line 139 of file component/ssc.h.

◆ SSC_RFMR_FSOS_Msk

#define SSC_RFMR_FSOS_Msk   (0x7u << SSC_RFMR_FSOS_Pos)

(SSC_RFMR) Receive Frame Sync Output Selection

Definition at line 134 of file component/ssc.h.

◆ SSC_RFMR_FSOS_NEGATIVE

#define SSC_RFMR_FSOS_NEGATIVE   (0x1u << 20)

(SSC_RFMR) Negative Pulse, RF pin is an output

Definition at line 137 of file component/ssc.h.

◆ SSC_RFMR_FSOS_NONE

#define SSC_RFMR_FSOS_NONE   (0x0u << 20)

(SSC_RFMR) None, RF pin is an input

Definition at line 136 of file component/ssc.h.

◆ SSC_RFMR_FSOS_Pos

#define SSC_RFMR_FSOS_Pos   20

Definition at line 133 of file component/ssc.h.

◆ SSC_RFMR_FSOS_POSITIVE

#define SSC_RFMR_FSOS_POSITIVE   (0x2u << 20)

(SSC_RFMR) Positive Pulse, RF pin is an output

Definition at line 138 of file component/ssc.h.

◆ SSC_RFMR_FSOS_TOGGLING

#define SSC_RFMR_FSOS_TOGGLING   (0x5u << 20)

(SSC_RFMR) Toggling at each start of data transfer, RF pin is an output

Definition at line 141 of file component/ssc.h.

◆ SSC_RFMR_LOOP

#define SSC_RFMR_LOOP   (0x1u << 5)

(SSC_RFMR) Loop Mode

Definition at line 125 of file component/ssc.h.

◆ SSC_RFMR_MSBF

#define SSC_RFMR_MSBF   (0x1u << 7)

(SSC_RFMR) Most Significant Bit First

Definition at line 126 of file component/ssc.h.

◆ SSC_RHR_RDAT_Msk

#define SSC_RHR_RDAT_Msk   (0xffffffffu << SSC_RHR_RDAT_Pos)

(SSC_RHR) Receive Data

Definition at line 215 of file component/ssc.h.

◆ SSC_RHR_RDAT_Pos

#define SSC_RHR_RDAT_Pos   0

Definition at line 214 of file component/ssc.h.

◆ SSC_RSHR_RSDAT_Msk

#define SSC_RSHR_RSDAT_Msk   (0xffffu << SSC_RSHR_RSDAT_Pos)

(SSC_RSHR) Receive Synchronization Data

Definition at line 222 of file component/ssc.h.

◆ SSC_RSHR_RSDAT_Pos

#define SSC_RSHR_RSDAT_Pos   0

Definition at line 221 of file component/ssc.h.

◆ SSC_SR_CP0

#define SSC_SR_CP0   (0x1u << 8)

(SSC_SR) Compare 0

Definition at line 240 of file component/ssc.h.

◆ SSC_SR_CP1

#define SSC_SR_CP1   (0x1u << 9)

(SSC_SR) Compare 1

Definition at line 241 of file component/ssc.h.

◆ SSC_SR_OVRUN

#define SSC_SR_OVRUN   (0x1u << 5)

(SSC_SR) Receive Overrun

Definition at line 239 of file component/ssc.h.

◆ SSC_SR_RXEN

#define SSC_SR_RXEN   (0x1u << 17)

(SSC_SR) Receive Enable

Definition at line 245 of file component/ssc.h.

◆ SSC_SR_RXRDY

#define SSC_SR_RXRDY   (0x1u << 4)

(SSC_SR) Receive Ready

Definition at line 238 of file component/ssc.h.

◆ SSC_SR_RXSYN

#define SSC_SR_RXSYN   (0x1u << 11)

(SSC_SR) Receive Sync

Definition at line 243 of file component/ssc.h.

◆ SSC_SR_TXEMPTY

#define SSC_SR_TXEMPTY   (0x1u << 1)

(SSC_SR) Transmit Empty

Definition at line 237 of file component/ssc.h.

◆ SSC_SR_TXEN

#define SSC_SR_TXEN   (0x1u << 16)

(SSC_SR) Transmit Enable

Definition at line 244 of file component/ssc.h.

◆ SSC_SR_TXRDY

#define SSC_SR_TXRDY   (0x1u << 0)

(SSC_SR) Transmit Ready

Definition at line 236 of file component/ssc.h.

◆ SSC_SR_TXSYN

#define SSC_SR_TXSYN   (0x1u << 10)

(SSC_SR) Transmit Sync

Definition at line 242 of file component/ssc.h.

◆ SSC_TCMR_CKG

#define SSC_TCMR_CKG (   value)    ((SSC_TCMR_CKG_Msk & ((value) << SSC_TCMR_CKG_Pos)))

Definition at line 164 of file component/ssc.h.

◆ SSC_TCMR_CKG_CONTINUOUS

#define SSC_TCMR_CKG_CONTINUOUS   (0x0u << 6)

(SSC_TCMR) None

Definition at line 165 of file component/ssc.h.

◆ SSC_TCMR_CKG_EN_TF_HIGH

#define SSC_TCMR_CKG_EN_TF_HIGH   (0x2u << 6)

(SSC_TCMR) Transmit Clock enabled only if TF High

Definition at line 167 of file component/ssc.h.

◆ SSC_TCMR_CKG_EN_TF_LOW

#define SSC_TCMR_CKG_EN_TF_LOW   (0x1u << 6)

(SSC_TCMR) Transmit Clock enabled only if TF Low

Definition at line 166 of file component/ssc.h.

◆ SSC_TCMR_CKG_Msk

#define SSC_TCMR_CKG_Msk   (0x3u << SSC_TCMR_CKG_Pos)

(SSC_TCMR) Transmit Clock Gating Selection

Definition at line 163 of file component/ssc.h.

◆ SSC_TCMR_CKG_Pos

#define SSC_TCMR_CKG_Pos   6

Definition at line 162 of file component/ssc.h.

◆ SSC_TCMR_CKI

#define SSC_TCMR_CKI   (0x1u << 5)

(SSC_TCMR) Transmit Clock Inversion

Definition at line 161 of file component/ssc.h.

◆ SSC_TCMR_CKO

#define SSC_TCMR_CKO (   value)    ((SSC_TCMR_CKO_Msk & ((value) << SSC_TCMR_CKO_Pos)))

Definition at line 157 of file component/ssc.h.

◆ SSC_TCMR_CKO_CONTINUOUS

#define SSC_TCMR_CKO_CONTINUOUS   (0x1u << 2)

(SSC_TCMR) Continuous Transmit Clock, TK pin is an output

Definition at line 159 of file component/ssc.h.

◆ SSC_TCMR_CKO_Msk

#define SSC_TCMR_CKO_Msk   (0x7u << SSC_TCMR_CKO_Pos)

(SSC_TCMR) Transmit Clock Output Mode Selection

Definition at line 156 of file component/ssc.h.

◆ SSC_TCMR_CKO_NONE

#define SSC_TCMR_CKO_NONE   (0x0u << 2)

(SSC_TCMR) None, TK pin is an input

Definition at line 158 of file component/ssc.h.

◆ SSC_TCMR_CKO_Pos

#define SSC_TCMR_CKO_Pos   2

Definition at line 155 of file component/ssc.h.

◆ SSC_TCMR_CKO_TRANSFER

#define SSC_TCMR_CKO_TRANSFER   (0x2u << 2)

(SSC_TCMR) Transmit Clock only during data transfers, TK pin is an output

Definition at line 160 of file component/ssc.h.

◆ SSC_TCMR_CKS

#define SSC_TCMR_CKS (   value)    ((SSC_TCMR_CKS_Msk & ((value) << SSC_TCMR_CKS_Pos)))

Definition at line 151 of file component/ssc.h.

◆ SSC_TCMR_CKS_MCK

#define SSC_TCMR_CKS_MCK   (0x0u << 0)

(SSC_TCMR) Divided Clock

Definition at line 152 of file component/ssc.h.

◆ SSC_TCMR_CKS_Msk

#define SSC_TCMR_CKS_Msk   (0x3u << SSC_TCMR_CKS_Pos)

(SSC_TCMR) Transmit Clock Selection

Definition at line 150 of file component/ssc.h.

◆ SSC_TCMR_CKS_Pos

#define SSC_TCMR_CKS_Pos   0

Definition at line 149 of file component/ssc.h.

◆ SSC_TCMR_CKS_RK

#define SSC_TCMR_CKS_RK   (0x1u << 0)

(SSC_TCMR) RK Clock signal

Definition at line 153 of file component/ssc.h.

◆ SSC_TCMR_CKS_TK

#define SSC_TCMR_CKS_TK   (0x2u << 0)

(SSC_TCMR) TK pin

Definition at line 154 of file component/ssc.h.

◆ SSC_TCMR_PERIOD

#define SSC_TCMR_PERIOD (   value)    ((SSC_TCMR_PERIOD_Msk & ((value) << SSC_TCMR_PERIOD_Pos)))

Definition at line 184 of file component/ssc.h.

◆ SSC_TCMR_PERIOD_Msk

#define SSC_TCMR_PERIOD_Msk   (0xffu << SSC_TCMR_PERIOD_Pos)

(SSC_TCMR) Transmit Period Divider Selection

Definition at line 183 of file component/ssc.h.

◆ SSC_TCMR_PERIOD_Pos

#define SSC_TCMR_PERIOD_Pos   24

Definition at line 182 of file component/ssc.h.

◆ SSC_TCMR_START

#define SSC_TCMR_START (   value)    ((SSC_TCMR_START_Msk & ((value) << SSC_TCMR_START_Pos)))

Definition at line 170 of file component/ssc.h.

◆ SSC_TCMR_START_CONTINUOUS

#define SSC_TCMR_START_CONTINUOUS   (0x0u << 8)

(SSC_TCMR) Continuous, as soon as a word is written in the SSC_THR (if Transmit is enabled), and immediately after the end of transfer of the previous data

Definition at line 171 of file component/ssc.h.

◆ SSC_TCMR_START_Msk

#define SSC_TCMR_START_Msk   (0xfu << SSC_TCMR_START_Pos)

(SSC_TCMR) Transmit Start Selection

Definition at line 169 of file component/ssc.h.

◆ SSC_TCMR_START_Pos

#define SSC_TCMR_START_Pos   8

Definition at line 168 of file component/ssc.h.

◆ SSC_TCMR_START_RECEIVE

#define SSC_TCMR_START_RECEIVE   (0x1u << 8)

(SSC_TCMR) Receive start

Definition at line 172 of file component/ssc.h.

◆ SSC_TCMR_START_TF_EDGE

#define SSC_TCMR_START_TF_EDGE   (0x7u << 8)

(SSC_TCMR) Detection of any edge on TF signal

Definition at line 178 of file component/ssc.h.

◆ SSC_TCMR_START_TF_FALLING

#define SSC_TCMR_START_TF_FALLING   (0x4u << 8)

(SSC_TCMR) Detection of a falling edge on TF signal

Definition at line 175 of file component/ssc.h.

◆ SSC_TCMR_START_TF_HIGH

#define SSC_TCMR_START_TF_HIGH   (0x3u << 8)

(SSC_TCMR) Detection of a high level on TF signal

Definition at line 174 of file component/ssc.h.

◆ SSC_TCMR_START_TF_LEVEL

#define SSC_TCMR_START_TF_LEVEL   (0x6u << 8)

(SSC_TCMR) Detection of any level change on TF signal

Definition at line 177 of file component/ssc.h.

◆ SSC_TCMR_START_TF_LOW

#define SSC_TCMR_START_TF_LOW   (0x2u << 8)

(SSC_TCMR) Detection of a low level on TF signal

Definition at line 173 of file component/ssc.h.

◆ SSC_TCMR_START_TF_RISING

#define SSC_TCMR_START_TF_RISING   (0x5u << 8)

(SSC_TCMR) Detection of a rising edge on TF signal

Definition at line 176 of file component/ssc.h.

◆ SSC_TCMR_STTDLY

#define SSC_TCMR_STTDLY (   value)    ((SSC_TCMR_STTDLY_Msk & ((value) << SSC_TCMR_STTDLY_Pos)))

Definition at line 181 of file component/ssc.h.

◆ SSC_TCMR_STTDLY_Msk

#define SSC_TCMR_STTDLY_Msk   (0xffu << SSC_TCMR_STTDLY_Pos)

(SSC_TCMR) Transmit Start Delay

Definition at line 180 of file component/ssc.h.

◆ SSC_TCMR_STTDLY_Pos

#define SSC_TCMR_STTDLY_Pos   16

Definition at line 179 of file component/ssc.h.

◆ SSC_TFMR_DATDEF

#define SSC_TFMR_DATDEF   (0x1u << 5)

(SSC_TFMR) Data Default Value

Definition at line 189 of file component/ssc.h.

◆ SSC_TFMR_DATLEN

#define SSC_TFMR_DATLEN (   value)    ((SSC_TFMR_DATLEN_Msk & ((value) << SSC_TFMR_DATLEN_Pos)))

Definition at line 188 of file component/ssc.h.

◆ SSC_TFMR_DATLEN_Msk

#define SSC_TFMR_DATLEN_Msk   (0x1fu << SSC_TFMR_DATLEN_Pos)

(SSC_TFMR) Data Length

Definition at line 187 of file component/ssc.h.

◆ SSC_TFMR_DATLEN_Pos

#define SSC_TFMR_DATLEN_Pos   0

Definition at line 186 of file component/ssc.h.

◆ SSC_TFMR_DATNB

#define SSC_TFMR_DATNB (   value)    ((SSC_TFMR_DATNB_Msk & ((value) << SSC_TFMR_DATNB_Pos)))

Definition at line 193 of file component/ssc.h.

◆ SSC_TFMR_DATNB_Msk

#define SSC_TFMR_DATNB_Msk   (0xfu << SSC_TFMR_DATNB_Pos)

(SSC_TFMR) Data Number per Frame

Definition at line 192 of file component/ssc.h.

◆ SSC_TFMR_DATNB_Pos

#define SSC_TFMR_DATNB_Pos   8

Definition at line 191 of file component/ssc.h.

◆ SSC_TFMR_FSDEN

#define SSC_TFMR_FSDEN   (0x1u << 23)

(SSC_TFMR) Frame Sync Data Enable

Definition at line 206 of file component/ssc.h.

◆ SSC_TFMR_FSEDGE

#define SSC_TFMR_FSEDGE   (0x1u << 24)

(SSC_TFMR) Frame Sync Edge Detection

Definition at line 207 of file component/ssc.h.

◆ SSC_TFMR_FSEDGE_NEGATIVE

#define SSC_TFMR_FSEDGE_NEGATIVE   (0x1u << 24)

(SSC_TFMR) Negative Edge Detection

Definition at line 209 of file component/ssc.h.

◆ SSC_TFMR_FSEDGE_POSITIVE

#define SSC_TFMR_FSEDGE_POSITIVE   (0x0u << 24)

(SSC_TFMR) Positive Edge Detection

Definition at line 208 of file component/ssc.h.

◆ SSC_TFMR_FSLEN

#define SSC_TFMR_FSLEN (   value)    ((SSC_TFMR_FSLEN_Msk & ((value) << SSC_TFMR_FSLEN_Pos)))

Definition at line 196 of file component/ssc.h.

◆ SSC_TFMR_FSLEN_EXT

#define SSC_TFMR_FSLEN_EXT (   value)    ((SSC_TFMR_FSLEN_EXT_Msk & ((value) << SSC_TFMR_FSLEN_EXT_Pos)))

Definition at line 212 of file component/ssc.h.

◆ SSC_TFMR_FSLEN_EXT_Msk

#define SSC_TFMR_FSLEN_EXT_Msk   (0xfu << SSC_TFMR_FSLEN_EXT_Pos)

(SSC_TFMR) FSLEN Field Extension

Definition at line 211 of file component/ssc.h.

◆ SSC_TFMR_FSLEN_EXT_Pos

#define SSC_TFMR_FSLEN_EXT_Pos   28

Definition at line 210 of file component/ssc.h.

◆ SSC_TFMR_FSLEN_Msk

#define SSC_TFMR_FSLEN_Msk   (0xfu << SSC_TFMR_FSLEN_Pos)

(SSC_TFMR) Transmit Frame Sync Length

Definition at line 195 of file component/ssc.h.

◆ SSC_TFMR_FSLEN_Pos

#define SSC_TFMR_FSLEN_Pos   16

Definition at line 194 of file component/ssc.h.

◆ SSC_TFMR_FSOS

#define SSC_TFMR_FSOS (   value)    ((SSC_TFMR_FSOS_Msk & ((value) << SSC_TFMR_FSOS_Pos)))

Definition at line 199 of file component/ssc.h.

◆ SSC_TFMR_FSOS_HIGH

#define SSC_TFMR_FSOS_HIGH   (0x4u << 20)

(SSC_TFMR) Driven High during data transfer

Definition at line 204 of file component/ssc.h.

◆ SSC_TFMR_FSOS_LOW

#define SSC_TFMR_FSOS_LOW   (0x3u << 20)

(SSC_TFMR) Driven Low during data transfer

Definition at line 203 of file component/ssc.h.

◆ SSC_TFMR_FSOS_Msk

#define SSC_TFMR_FSOS_Msk   (0x7u << SSC_TFMR_FSOS_Pos)

(SSC_TFMR) Transmit Frame Sync Output Selection

Definition at line 198 of file component/ssc.h.

◆ SSC_TFMR_FSOS_NEGATIVE

#define SSC_TFMR_FSOS_NEGATIVE   (0x1u << 20)

(SSC_TFMR) Negative Pulse, TF pin is an output

Definition at line 201 of file component/ssc.h.

◆ SSC_TFMR_FSOS_NONE

#define SSC_TFMR_FSOS_NONE   (0x0u << 20)

(SSC_TFMR) None, TF pin is an input

Definition at line 200 of file component/ssc.h.

◆ SSC_TFMR_FSOS_Pos

#define SSC_TFMR_FSOS_Pos   20

Definition at line 197 of file component/ssc.h.

◆ SSC_TFMR_FSOS_POSITIVE

#define SSC_TFMR_FSOS_POSITIVE   (0x2u << 20)

(SSC_TFMR) Positive Pulse, TF pin is an output

Definition at line 202 of file component/ssc.h.

◆ SSC_TFMR_FSOS_TOGGLING

#define SSC_TFMR_FSOS_TOGGLING   (0x5u << 20)

(SSC_TFMR) Toggling at each start of data transfer

Definition at line 205 of file component/ssc.h.

◆ SSC_TFMR_MSBF

#define SSC_TFMR_MSBF   (0x1u << 7)

(SSC_TFMR) Most Significant Bit First

Definition at line 190 of file component/ssc.h.

◆ SSC_THR_TDAT

#define SSC_THR_TDAT (   value)    ((SSC_THR_TDAT_Msk & ((value) << SSC_THR_TDAT_Pos)))

Definition at line 219 of file component/ssc.h.

◆ SSC_THR_TDAT_Msk

#define SSC_THR_TDAT_Msk   (0xffffffffu << SSC_THR_TDAT_Pos)

(SSC_THR) Transmit Data

Definition at line 218 of file component/ssc.h.

◆ SSC_THR_TDAT_Pos

#define SSC_THR_TDAT_Pos   0

Definition at line 217 of file component/ssc.h.

◆ SSC_TSHR_TSDAT

#define SSC_TSHR_TSDAT (   value)    ((SSC_TSHR_TSDAT_Msk & ((value) << SSC_TSHR_TSDAT_Pos)))

Definition at line 226 of file component/ssc.h.

◆ SSC_TSHR_TSDAT_Msk

#define SSC_TSHR_TSDAT_Msk   (0xffffu << SSC_TSHR_TSDAT_Pos)

(SSC_TSHR) Transmit Synchronization Data

Definition at line 225 of file component/ssc.h.

◆ SSC_TSHR_TSDAT_Pos

#define SSC_TSHR_TSDAT_Pos   0

Definition at line 224 of file component/ssc.h.

◆ SSC_VERSION_MFN_Msk

#define SSC_VERSION_MFN_Msk   (0x7u << SSC_VERSION_MFN_Pos)

(SSC_VERSION) Metal Fix Number

Definition at line 287 of file component/ssc.h.

◆ SSC_VERSION_MFN_Pos

#define SSC_VERSION_MFN_Pos   16

Definition at line 286 of file component/ssc.h.

◆ SSC_VERSION_VERSION_Msk

#define SSC_VERSION_VERSION_Msk   (0xffffu << SSC_VERSION_VERSION_Pos)

(SSC_VERSION) Version of the Hardware Module

Definition at line 285 of file component/ssc.h.

◆ SSC_VERSION_VERSION_Pos

#define SSC_VERSION_VERSION_Pos   0

Definition at line 284 of file component/ssc.h.

◆ SSC_WPMR_WPEN

#define SSC_WPMR_WPEN   (0x1u << 0)

(SSC_WPMR) Write Protection Enable

Definition at line 274 of file component/ssc.h.

◆ SSC_WPMR_WPKEY

#define SSC_WPMR_WPKEY (   value)    ((SSC_WPMR_WPKEY_Msk & ((value) << SSC_WPMR_WPKEY_Pos)))

Definition at line 277 of file component/ssc.h.

◆ SSC_WPMR_WPKEY_Msk

#define SSC_WPMR_WPKEY_Msk   (0xffffffu << SSC_WPMR_WPKEY_Pos)

(SSC_WPMR) Write Protection Key

Definition at line 276 of file component/ssc.h.

◆ SSC_WPMR_WPKEY_PASSWD

#define SSC_WPMR_WPKEY_PASSWD   (0x535343u << 8)

(SSC_WPMR) Writing any other value in this field aborts the write operation of the WPEN bit.Always reads as 0.

Definition at line 278 of file component/ssc.h.

◆ SSC_WPMR_WPKEY_Pos

#define SSC_WPMR_WPKEY_Pos   8

Definition at line 275 of file component/ssc.h.

◆ SSC_WPSR_WPVS

#define SSC_WPSR_WPVS   (0x1u << 0)

(SSC_WPSR) Write Protection Violation Status

Definition at line 280 of file component/ssc.h.

◆ SSC_WPSR_WPVSRC_Msk

#define SSC_WPSR_WPVSRC_Msk   (0xffffu << SSC_WPSR_WPVSRC_Pos)

(SSC_WPSR) Write Protect Violation Source

Definition at line 282 of file component/ssc.h.

◆ SSC_WPSR_WPVSRC_Pos

#define SSC_WPSR_WPVSRC_Pos   8

Definition at line 281 of file component/ssc.h.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:01