Maxim-Integrated /max32520 /SPI0 /STATIC_CONFIG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as STATIC_CONFIG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 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 (rising_edge)PHASE 0 (normal)CLKPOL 0 (0)NUMBITS0 (mono)DATAWIDTH 0 (dis)3WIRE 0SSPOL

PHASE=rising_edge, DATAWIDTH=mono, CLKPOL=normal, 3WIRE=dis, NUMBITS=0

Description

Register for controlling SPI peripheral.

Fields

PHASE

Clock Phase.

0 (rising_edge): Data Sampled on clock rising edge. Use when in SPI Mode 0 and Mode 2

1 (falling_edge): Data Sampled on clock falling edge. Use when in SPI Mode 1 and Mode 3

CLKPOL

Clock Polarity.

0 (normal): Normal Clock. Use when in SPI Mode 0 and Mode 1

1 (inverted): Inverted Clock. Use when in SPI Mode 2 and Mode 3

NUMBITS

Number of Bits per character.

0 (0): 16 bits per character.

DATAWIDTH

SPI Data width.

0 (mono): 1 data pin.

1 (dual): 2 data pins.

2 (quad): 4 data pins.

3WIRE

Three Wire mode. MOSI/MISO pin (s) shared. Only Mono mode suports Four-Wire.

0 (dis): Use four wire mode (Mono only).

1 (en): Use three wire mode.

SSPOL

Slave Select Polarity, each Slave Select can have unique polarity.

1 (SS0_high): SS0 active high.

2 (SS1_high): SS1 active high.

4 (SS2_high): SS2 active high.

Links

()