Rainbow Electronics ATmega64M1 User Manual

Page 339

Advertising
background image

iv

8209A–AVR–08/09

ATmega16M1/32M1/64M1

18.8

Signal Description ..........................................................................................141

18.9

PSC Input ......................................................................................................143

18.10

PSC Input Modes 001b to 10xb: Deactivate outputs without changing timing. 145

18.11

PSC Input Mode 11xb: Halt PSC and Wait for Software Action ....................145

18.12

Analog Synchronization .................................................................................146

18.13

Interrupt Handling ..........................................................................................146

18.14

PSC Clock Sources .......................................................................................146

18.15

Interrupts .......................................................................................................147

18.16

Register Description ......................................................................................147

19

SPI – Serial Peripheral Interface ......................................................... 154

19.1

Features ........................................................................................................154

19.2

Overview ........................................................................................................154

19.3

SS Pin Functionality ......................................................................................159

19.4

Data Modes ...................................................................................................159

19.5

Register Description ......................................................................................160

20

CAN – Controller Area Network .......................................................... 164

20.1

Features ........................................................................................................164

20.2

Overview ........................................................................................................164

20.3

CAN Protocol .................................................................................................164

20.4

CAN Controller ..............................................................................................170

20.5

CAN Channel .................................................................................................171

20.6

Message Objects ...........................................................................................174

20.7

CAN Timer .....................................................................................................177

20.8

Error Management .........................................................................................178

20.9

Interrupts .......................................................................................................180

20.10

Register Description ......................................................................................182

20.11

MOb Registers ...............................................................................................192

20.12

Examples of CAN Baud Rate Setting ............................................................197

21

LIN / UART - Local Interconnect Network Controller or UART ........ 200

21.1

Features ........................................................................................................200

21.2

Overview ........................................................................................................200

21.3

LIN Protocol ...................................................................................................201

21.4

LIN / UART Controller ....................................................................................202

21.5

LIN / UART Description .................................................................................208

21.6

Register Description ......................................................................................218

Advertising