CMS32L051 User Manual |Chapter 12 Universal Serial Communication Unit
www.mcu.com.cn 346 / 703
12.5.3 Master transmission and reception
The transmission and reception of the master refers to the operation of the output transmission clock
of this product and the transmission and reception of data with other devices.
Note It must be used within the scope of the peripheral functional characteristics that meet this condition and meet the
electrical characteristics (refer to the data sheet).
Remark m: Unit number (m=0, 1) n: Channel number (n=0~3)p: SSPI number (p=00, 01, 10, 11, 20, 21.) )
mn=00~03, 10~11
You can choose between an end-of-the-transmission interrupt (single-pass mode) or a
buffer null interrupt (continuous transfer mode).
It can be selected via the DAPmn bit of the SCRmn register.
DAPmn=0: Data output starts when the serial clock starts running.
DAPmn=1: Starts data output half a clock before the serial clock starts running.
It can be selected by the CKPmn bit of the SCRmn register.
CKPmn=0: Positive phase
CKPmn=1: Inverted phase