Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
БЭМЗ полищук доки / Склад / Datasheet_LM3S6965.pdf
Скачиваний:
10
Добавлен:
21.12.2020
Размер:
6.13 Mб
Скачать

General-Purpose Timers

Register 5: GPTM Interrupt Mask (GPTMIMR), offset 0x018

Thisregisterallowssoftwaretoenable/disableGPTMcontroller-levelinterrupts. Writinga1enables the interrupt, while writing a 0 disables it.

GPTM Interrupt Mask (GPTMIMR)

Timer0 base: 0x4003.0000

Timer1 base: 0x4003.1000

Timer2 base: 0x4003.2000

Timer3 base: 0x4003.3000

Offset 0x018

Type R/W, reset 0x0000.0000

 

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

 

 

 

 

 

 

 

 

reserved

 

 

 

 

 

 

 

Type

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

reserved

 

 

CBEIM

CBMIM

TBTOIM

 

reserved

 

RTCIM

CAEIM

CAMIM

TATOIM

Type

RO

RO

RO

RO

RO

R/W

R/W

R/W

RO

RO

RO

RO

R/W

R/W

R/W

R/W

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Bit/Field

Name

Type

Reset

Description

31:11

reserved

RO

0x00

Software should not rely on the value of a reserved bit. To provide

 

 

 

 

compatibility with future products, the value of a reserved bit should be

 

 

 

 

preserved across a read-modify-write operation.

10

CBEIM

R/W

0

GPTM CaptureB Event Interrupt Mask

 

 

 

 

The CBEIM values are defined as follows:

 

 

 

 

Value

Description

 

 

 

 

0

Interrupt is disabled.

 

 

 

 

1

Interrupt is enabled.

9

CBMIM

R/W

0

GPTM CaptureB Match Interrupt Mask

 

 

 

 

The CBMIM values are defined as follows:

 

 

 

 

Value

Description

 

 

 

 

0

Interrupt is disabled.

 

 

 

 

1

Interrupt is enabled.

8

TBTOIM

R/W

0

GPTM TimerB Time-Out Interrupt Mask

 

 

 

 

The TBTOIM values are defined as follows:

 

 

 

 

Value

Description

 

 

 

 

0

Interrupt is disabled.

 

 

 

 

1

Interrupt is enabled.

7:4

reserved

RO

0

Software should not rely on the value of a reserved bit. To provide

 

 

 

 

compatibility with future products, the value of a reserved bit should be

 

 

 

 

preserved across a read-modify-write operation.

238

November 16, 2008

Preliminary

LM3S6965 Microcontroller

Bit/Field

Name

Type

Reset

Description

3

RTCIM

R/W

0

GPTM RTC Interrupt Mask

 

 

 

 

The RTCIM values are defined as follows:

 

 

 

 

Value

Description

 

 

 

 

0

Interrupt is disabled.

 

 

 

 

1

Interrupt is enabled.

2

CAEIM

R/W

0

GPTM CaptureA Event Interrupt Mask

 

 

 

 

The CAEIM values are defined as follows:

 

 

 

 

Value

Description

 

 

 

 

0

Interrupt is disabled.

 

 

 

 

1

Interrupt is enabled.

1

CAMIM

R/W

0

GPTM CaptureA Match Interrupt Mask

 

 

 

 

The CAMIM values are defined as follows:

 

 

 

 

Value

Description

 

 

 

 

0

Interrupt is disabled.

 

 

 

 

1

Interrupt is enabled.

0

TATOIM

R/W

0

GPTM TimerA Time-Out Interrupt Mask

 

 

 

 

The TATOIM values are defined as follows:

 

 

 

 

Value

Description

 

 

 

 

0

Interrupt is disabled.

 

 

 

 

1

Interrupt is enabled.

November 16, 2008

239

Preliminary

General-Purpose Timers

Register 6: GPTM Raw Interrupt Status (GPTMRIS), offset 0x01C

This register shows the state of the GPTM's internal interrupt signal. These bits are set whether or not the interrupt is masked in the GPTMIMR register. Each bit can be cleared by writing a 1 to its corresponding bit in GPTMICR.

GPTM Raw Interrupt Status (GPTMRIS)

Timer0 base: 0x4003.0000

Timer1 base: 0x4003.1000

Timer2 base: 0x4003.2000

Timer3 base: 0x4003.3000

Offset 0x01C

Type RO, reset 0x0000.0000

 

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

 

 

 

 

 

 

 

 

reserved

 

 

 

 

 

 

 

Type

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

reserved

 

 

CBERIS

CBMRIS

TBTORIS

 

reserved

 

RTCRIS

CAERIS

CAMRIS

TATORIS

Type

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Bit/Field

Name

Type

Reset

Description

31:11

reserved

RO

0x00

Software should not rely on the value of a reserved bit. To provide

 

 

 

 

compatibility with future products, the value of a reserved bit should be

 

 

 

 

preserved across a read-modify-write operation.

10

CBERIS

RO

0

GPTM CaptureB Event Raw Interrupt

 

 

 

 

This is the CaptureB Event interrupt status prior to masking.

9

CBMRIS

RO

0

GPTM CaptureB Match Raw Interrupt

 

 

 

 

This is the CaptureB Match interrupt status prior to masking.

8

TBTORIS

RO

0

GPTM TimerB Time-Out Raw Interrupt

 

 

 

 

This is the TimerB time-out interrupt status prior to masking.

7:4

reserved

RO

0x0

Software should not rely on the value of a reserved bit. To provide

 

 

 

 

compatibility with future products, the value of a reserved bit should be

 

 

 

 

preserved across a read-modify-write operation.

3

RTCRIS

RO

0

GPTM RTC Raw Interrupt

 

 

 

 

This is the RTC Event interrupt status prior to masking.

2

CAERIS

RO

0

GPTM CaptureA Event Raw Interrupt

 

 

 

 

This is the CaptureA Event interrupt status prior to masking.

1

CAMRIS

RO

0

GPTM CaptureA Match Raw Interrupt

 

 

 

 

This is the CaptureA Match interrupt status prior to masking.

0

TATORIS

RO

0

GPTM TimerA Time-Out Raw Interrupt

 

 

 

 

This the TimerA time-out interrupt status prior to masking.

240

November 16, 2008

Preliminary

LM3S6965 Microcontroller

Register 7: GPTM Masked Interrupt Status (GPTMMIS), offset 0x020

This register show the state of the GPTM's controller-level interrupt. If an interrupt is unmasked in GPTMIMR, and there is an event that causes the interrupt to be asserted, the corresponding bit is set in this register. All bits are cleared by writing a 1 to the corresponding bit in GPTMICR.

GPTM Masked Interrupt Status (GPTMMIS)

Timer0 base: 0x4003.0000

Timer1 base: 0x4003.1000

Timer2 base: 0x4003.2000

Timer3 base: 0x4003.3000

Offset 0x020

Type RO, reset 0x0000.0000

 

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

 

 

 

 

 

 

 

 

reserved

 

 

 

 

 

 

 

Type

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

reserved

 

 

CBEMIS

CBMMIS

TBTOMIS

 

reserved

 

RTCMIS

CAEMIS

CAMMIS

TATOMIS

Type

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

RO

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Bit/Field

Name

Type

Reset

Description

31:11

reserved

RO

0x00

Software should not rely on the value of a reserved bit. To provide

 

 

 

 

compatibility with future products, the value of a reserved bit should be

 

 

 

 

preserved across a read-modify-write operation.

10

CBEMIS

RO

0

GPTM CaptureB Event Masked Interrupt

 

 

 

 

This is the CaptureB event interrupt status after masking.

9

CBMMIS

RO

0

GPTM CaptureB Match Masked Interrupt

 

 

 

 

This is the CaptureB match interrupt status after masking.

8

TBTOMIS

RO

0

GPTM TimerB Time-Out Masked Interrupt

 

 

 

 

This is the TimerB time-out interrupt status after masking.

7:4

reserved

RO

0x0

Software should not rely on the value of a reserved bit. To provide

 

 

 

 

compatibility with future products, the value of a reserved bit should be

 

 

 

 

preserved across a read-modify-write operation.

3

RTCMIS

RO

0

GPTM RTC Masked Interrupt

 

 

 

 

This is the RTC event interrupt status after masking.

2

CAEMIS

RO

0

GPTM CaptureA Event Masked Interrupt

 

 

 

 

This is the CaptureA event interrupt status after masking.

1

CAMMIS

RO

0

GPTM CaptureA Match Masked Interrupt

 

 

 

 

This is the CaptureA match interrupt status after masking.

0

TATOMIS

RO

0

GPTM TimerA Time-Out Masked Interrupt

 

 

 

 

This is the TimerA time-out interrupt status after masking.

November 16, 2008

241

Preliminary

Соседние файлы в папке Склад