[ADSP-BF561 EZ-KIT lite] programmable flags (pfx)

Source: Internet
Author: User

ADSP-BF561 has 48 bi-directional, general-purpose I/O, programmable flag (PF47-0) pins. the programmable flag pins have special functions for Spi port operation. each programmable flag can be individually controlled as follows by manipulation of the Flag control, status, and interrupt registers:

 

  1. Flag direction control register
    -Specifies the direction of each individual pfx pin as input or output.
  2. Flag control and status registers
    -Rather than forcing the software to use a read-Modify-write process to control the setting of individual flags, the ADSP-BF561 employs a "write one to set" and "write one to clear" mechanic than allows any combination of individual flags to be set or cleared in a single instruction, without affrecting the level of any other flags. two control registers are provided, one register is written to in order to set flag values while another register is written to in order to clear flag values. reading the flag status register allows software to interrogate
    The sense of the flags.
  3. Flag Interrupt Mask registers
    -The flag Interrupt Mask registers allow each individual pfx pin to function as an interrupt to the processor. similar to the flag control registers that are used to set and clear individual flag values, one flag Interrupt Mask Register sets bits to enable interrupt function, and the other flag Interrupt Mask register clears bits to disable interrupt function. pfx pins defined as inputs can be configured to generate hardware interrupts, while output pfx pins can be configured to generate software interrupts.
  4. Flag interrupt sensiti1_register
    -The flag should sensitisponregister specify whether individual pfx pins are level-or edge-sensitive and specify if edge-sensitive whether just the rising edge or both the rising and falling edges of the Sinal are significant. one register selects the type of sensitivity, and one register selects which edges are significant for edge-sensi.pdf.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.