![Atmel AT90S8414 Скачать руководство пользователя страница 48](http://html1.mh-extra.com/html/atmel/at90s8414/at90s8414_manual_3003427048.webp)
4-48
AT90S8414
Preliminary
Figure 40: SPI Transfer Format with CHPA = 0
Figure 41: SPI Transfer Format with CHPA = 1
THE SPI CONTROL REGISTER - SPCR
Bit
7
6
5
4
3
2
1
0
$0D
SPIE
SPE
DORD
MSTR
CPOL
CPHA
SPR1
SPR0
SPCR
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
0
1
0
0
Bit 7 - SPIE : SPI Interrupt Enable:
This bit causes setting of the SPIF bit in the SPSR register to execute the SPI interrupt provided that global interrupts are
enabled.
Bit 6 - SPE : SPI Enable:
When the SPE bit is set (one), the SPI is enabled and SS , MOSI, MISO and SCK are connected to pins PB4, PB5, PB6
and PB7.
Bit 5 - DORD : Data ORDer:
When the DORD bit is set (one), the LSB of the data word is transmitted first.
When the DORD bit is cleared (zero), the MSB of the data word is transmitted first.
Содержание AT90S8414
Страница 4: ...4 4 AT90S8414 Preliminary...
Страница 6: ...4 6 AT90S8414 Preliminary Block Diagram Figure 1 The AT90S8414 Block Diagram...
Страница 65: ...AT90S8414 Preliminary 4 65 Figure 50 PORTB Schematic Diagram Pin PB5 Figure 51 PORTB Schematic Diagram Pin PB6...
Страница 68: ...4 68 AT90S8414 Preliminary Figure 53 PORTC Schematic Diagram Pins PC0 PC7...
Страница 87: ...AT90S8414 Preliminary 4 87...