~ruther/avr-device

ref: 1e0eb40c3a8d82c6a3452a21e3cb3c6e56ce346f avr-device/patch/common/usart.yaml -rw-r--r-- 1.2 KiB
1e0eb40c — Andrew Dona-Couch Add support for ATmega2560 4 years ago
                                                                                
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
USART?:
  _modify:
    UCSR?A:
      access: read-write
  UCSR?A:
    _modify:
      UPE?:
        access: read-only
      DOR?:
        access: read-only
      FE?:
        access: read-only
      UDRE?:
        access: read-only
      TXC?:
        description: "USART Transmit Complete"
      RXC?:
        access: read-only
  UCSR?B:
    _modify:
      RXB8?:
        access: read-only
  UCSR?C:
    UMSEL?:
      _replace_enum:
        USART_ASYNC: [0, "Asynchronous USART"]
        USART_SYNC:  [1, "Synchronous USART"]
        SPI_MASTER:  [3, "Master SPI (MSPIM)"]
    UPM?:
      _replace_enum:
        DISABLED:    [0, "Disabled"]
        PARITY_EVEN: [2, "Enabled, Even Parity"]
        PARITY_ODD:  [3, "Enabled, Odd Parity"]
    USBS?:
      _replace_enum:
        STOP1: [0, "1-bit"]
        STOP2: [1, "2-bit"]
    UCSZ?:
      CHR5: [0, "Character Size: 5 bit"]
      CHR6: [1, "Character Size: 6 bit"]
      CHR7: [2, "Character Size: 7 bit"]
      CHR8: [3, "Character Size: 8 bit"]
    UCPOL?:
      _replace_enum:
        RISING_EDGE:  [0, "Transmit on Rising XCKn Edge, Receive on Falling XCKn Edge"]
        FALLING_EDGE: [1, "Transmit on Falling XCKn Edge, Receive on Rising XCKn Edge"]
Do not follow this link