Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
162
Добавлен:
01.03.2016
Размер:
3.56 Mб
Скачать

RM0016

Auto-wakeup (AWU)

 

 

12.4.3Timebase selection register (AWU_TBR)

Address offset: 0x02

Reset value: 0x00

7

6

 

 

 

 

5

4

 

3

 

2

1

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

AWUTB[3:0]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

rw

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bits 7:4

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bits 3:0

AWUTB[3:0]: Auto-wakeup timebase selection

 

 

 

 

 

 

 

 

 

 

 

 

 

These bits are written by software to define the time interval between AWU interrupts. AWU

 

interrupts are enabled when AWUEN = 1.

 

 

 

 

 

 

 

 

 

 

 

 

 

0000: No interrupt

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0001: APR

 

/f

 

 

 

0010: 2xAPR

DIV

/f

LS

 

0011: 22APR

DIV

/f

LS

 

 

DIV

LS

 

 

 

 

 

 

 

 

 

 

 

0100: 23APR

DIV

/f

LS

0101: 24APR /f

LS

 

0110: 25APR

DIV

/f

LS

 

 

 

 

 

DIV

 

 

 

 

 

 

 

0111: 26APR

DIV

/f

LS

1000: 27APR /f

LS

 

1001: 28APR

DIV

/f

LS

 

 

 

 

 

DIV

 

 

 

 

 

 

 

1010: 29APR

DIV

/f

LS

1011: 210APR

 

/f

 

1100: 211APR /f

LS

 

 

 

 

 

 

DIV

LS

 

 

DIV

 

 

 

 

1101: 212APR /f

LS

1110: 5x211APR

/f

 

1111: 30x211APR

DIV

/f

 

 

 

DIV

 

 

 

 

 

DIV LS

 

 

 

 

 

LS

12.4.4AWU register map and reset values

Table 26.

AWU register map

 

 

 

 

 

 

 

Address

Register

7

6

5

4

3

2

1

0

offset

name

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x00

AWU_CSR

-

-

AWUF

AWUEN

-

-

-

MSR

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

 

 

 

0x01

AWU_APR

-

-

APR5

APR4

APR3

APR2

APR1

APR0

0

0

1

1

1

1

1

1

 

 

 

 

 

 

 

 

 

 

 

 

0x02

AWU_TBR

-

-

-

-

AWUTB3

AWUTB2

AWUTB1

AWUTB0

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

 

 

 

Doc ID 14587 Rev 9

119/454

Соседние файлы в папке Минимум документации STM8_1