\n

SSC2

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x2000 byte (0x0)
mem_usage : registers
protection : not protected

Registers

PISEL

BR

ISRCLR

CON

TB

RB


PISEL

Port Input Select Register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PISEL PISEL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MIS_0 SIS CIS MIS_1 GIS

MIS_0 : Master Mode Input Select Bit 0 (Master Mode only)
bits : 0 - -1 (0 bit)
access : read-write

Enumeration:

0b0 : SSCx_M_MRST

(x = 1 or 2, dependant form current SSC), see .

0b1 : SSC12_M_MRST_x

(x=0 or 1). See .

End of enumeration elements list.

SIS : Slave Mode Input Select (Slave Mode only)
bits : 1 - 0 (0 bit)
access : read-write

Enumeration:

0b0 : SSCx_S_MTSR

(x = 1 or 2, dependant form current SSC), see .

0b1 : SSC12_S_MTSR_x

(x=0 or 1). See .

End of enumeration elements list.

CIS : Clock Input Select (Slave Mode only)
bits : 2 - 1 (0 bit)
access : read-write

Enumeration:

0b0 : SSCx_S_SCK

(x = 1 or 2, dependant form current SSC), see .

0b1 : SSC12_S_SCK_x

(x=0 or 1). See .

End of enumeration elements list.

MIS_1 : Master Mode Input Select Bit 1 (Master Mode only)
bits : 3 - 2 (0 bit)
access : read-write

Enumeration:

0b0 : value1

Default, Inputs selected according to MIS_0.

0b1 : value2

Do not use, Connects to unused pins.

End of enumeration elements list.

GIS : Global SSC12 Input Select
bits : 4 - 3 (0 bit)
access : read-write

Enumeration:

0b0 : value1

Inputs SSC12_S_SCK_0, SSC12_S_MTSR_0, and SSC12_M_MRST_0 are selected if CIS, SIS or MIS_O is 1.

0b1 : value2

Inputs SSC12_S_SCK_1, SSC12_S_MTSR_1, and SSC12_M_MRST_1 are selected if CIS, SIS or MIS_O is 1. See

End of enumeration elements list.


BR

Baud Rate Timer Reload Register
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BR BR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BR_VALUE

BR_VALUE : Baud Rate Timer/Reload Register Value
bits : 0 - 14 (15 bit)
access : read-write


ISRCLR

Interrupt Status Register Clear
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ISRCLR ISRCLR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TECLR RECLR PECLR BECLR

TECLR : Transmit Error Flag Clear
bits : 8 - 7 (0 bit)
access : write-only

Enumeration:

0b0 : NO

No error clear.

0b1 : CLEAR

Error clear.

End of enumeration elements list.

RECLR : Receive Error Flag Clear
bits : 9 - 8 (0 bit)
access : write-only

Enumeration:

0b0 : NO

No error clear.

0b1 : CLEAR

Error clear.

End of enumeration elements list.

PECLR : Phase Error Flag Clear
bits : 10 - 9 (0 bit)
access : write-only

Enumeration:

0b0 : NO

No error clear.

0b1 : CLEAR

Error clear.

End of enumeration elements list.

BECLR : Baud Rate Error Flag Clear
bits : 11 - 10 (0 bit)
access : write-only

Enumeration:

0b0 : NO

No error clear.

0b1 : CLEAR

Error clear.

End of enumeration elements list.


CON

Control Register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CON CON read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BM HB PH PO LB TEN REN PEN BEN AREN MS EN BC TE RE PE BE BSY

BM : Data Width Selection
bits : 0 - 2 (3 bit)
access : read-write

Enumeration:

0b0001 : 2

Transfer Data Width is 2 (BM+1).

0b1111 : 16

Transfer Data Width is 16 bits (BM+1).

End of enumeration elements list.

HB : Heading Control
bits : 4 - 3 (0 bit)
access : read-write

Enumeration:

0b0 : LSB

Transmit/Receive LSB First.

0b1 : MSB

Transmit/Receive MSB First.

End of enumeration elements list.

PH : Clock Phase Control
bits : 5 - 4 (0 bit)
access : read-write

Enumeration:

0b0 : SHIFT

transmit data on the leading clock edge, latch on trailing edge.

0b1 : LATCH

receive data on leading clock edge, shift on trailing edge.

End of enumeration elements list.

PO : Clock Polarity Control
bits : 6 - 5 (0 bit)
access : read-write

Enumeration:

0b0 : LOW

Idle clock line is low, leading clock edge is low-to-high transition.

0b1 : HIGH

Idle clock line is high, leading clock edge is high-to-low transition.

End of enumeration elements list.

LB : Loop Back Control
bits : 7 - 6 (0 bit)
access : read-write

Enumeration:

0b0 : NORMAL

output.

0b1 : LB

Receive input is connected with transmit output (half-duplex mode).

End of enumeration elements list.

TEN : Transmit Error Enable
bits : 8 - 7 (0 bit)
access : read-write

Enumeration:

0b0 : IGNORE

transmit errors.

0b1 : CHECK

transmit errors.

End of enumeration elements list.

REN : Receive Error Enable
bits : 9 - 8 (0 bit)
access : read-write

Enumeration:

0b0 : IGNORE

receive errors.

0b1 : CHECK

receive errors.

End of enumeration elements list.

PEN : Phase Error Enable
bits : 10 - 9 (0 bit)
access : read-write

Enumeration:

0b0 : IGNORE

phase errors.

0b1 : CHECK

phase errors.

End of enumeration elements list.

BEN : Baud Rate Error Enable
bits : 11 - 10 (0 bit)
access : read-write

Enumeration:

0b0 : IGNORE

baud rate errors.

0b1 : CHECK

baud rate errors.

End of enumeration elements list.

AREN : Automatic Reset Enable
bits : 12 - 11 (0 bit)
access : read-write

Enumeration:

0b0 : N/A

No additional action upon a baud rate error.

0b1 : RESET

The SSC is automatically reset upon a baud rate error.

End of enumeration elements list.

MS : Master Select
bits : 14 - 13 (0 bit)
access : read-write

Enumeration:

0b0 : SLAVE

Mode. Operate on shift clock received via SCLK.

0b1 : MASTER

Mode. Generate shift clock and output it via SCLK.

End of enumeration elements list.

EN : Enable Bit
bits : 15 - 14 (0 bit)
access : read-write

Enumeration:

0b0 : Programming Mode

Transmission and reception disabled. Access to control bits.

0b1 : Operating Mode

Transmission and reception enabled. Access to status flags and M/S control.

End of enumeration elements list.

BC : Bit Count Field
bits : 16 - 18 (3 bit)
access : read-only

TE : Transmit Error Flag
bits : 24 - 23 (0 bit)
access : read-only

Enumeration:

0b0 : NO

error.

0b1 : ERROR

Transfer starts with the slave's transmit buffer not being updated.

End of enumeration elements list.

RE : Receive Error Flag
bits : 25 - 24 (0 bit)
access : read-only

Enumeration:

0b0 : NO

error.

0b1 : ERROR

Reception completed before the receive buffer was read.

End of enumeration elements list.

PE : Phase Error Flag
bits : 26 - 25 (0 bit)
access : read-only

Enumeration:

0b0 : NO

error.

0b1 : ERROR

Received data changes around sampling clock edge.

End of enumeration elements list.

BE : Baud Rate Error Flag
bits : 27 - 26 (0 bit)
access : read-only

Enumeration:

0b0 : NO

error.

0b1 : ERROR

More than factor 2 or 0.5 between slave's actual and expected baud rate.

End of enumeration elements list.

BSY : Busy Flag
bits : 28 - 27 (0 bit)
access : read-only


TB

Transmitter Buffer Register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TB TB read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TB_VALUE

TB_VALUE : Transmit Data Register Value
bits : 0 - 14 (15 bit)
access : read-write


RB

Receiver Buffer Register
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RB RB read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RB_VALUE

RB_VALUE : Receive Data Register Value
bits : 0 - 14 (15 bit)
access : read-only



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.