Keil Logo

PECDEF Assembler Statement

Arguments
PECDEF range <[>, range <[>, ...<]><]>
Description

The PECDEF statement specifies which Peripheral Event Controller (PEC) channels are used. The range specifies a range of PEC channels. There are eight PEC channels (PECC0-PECC7).

Each PEC channel consists of a counter and a control register as well as source and destination pointers. The source and destination pointers reside in on-chip RAM which may be used by your application if the corresponding PEC channel is unused. The PECDEF statement reserves memory for the PEC pointers (which prevents the linker from locating other objects in that area).

Example
PECDEF  PECC0-PECC2, PECC6, PECC7
PECDEF  PECC0-PECC7
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.