Using as many internal peripherals as possible.


Results 1 to 12 of 12

Threaded View

  1. #7


    Did you find this post helpful? Yes | No

    Default Re: Using as many internal peripherals as possible.

    Thanks Richard for the answer. I understand. In more complex cases, this could cause problems.
    In my case, it works, but it is not correct to combine it like this.
    So in PBP use only On Interrupt statement or DT Interrupts. Or only ASM interrupts.
    Alternatively, a system variable can be set up, e.g.:
    Code:
    Test VAR BIT SYSTEM
    and use it from PBP and ASM?

    If I want to set the Test in PBP
    Code:
    Test = 1
    or 
    @ bsf Test
    If I want to set the Test in ASM
    Code:
    bsf Test
    and use the variable from both PBP and ASM. Or it's not possible that way either.
    Last edited by louislouis; - 1st September 2023 at 11:43.

Similar Threads

  1. New cool PIC peripherals
    By HenrikOlsson in forum General
    Replies: 1
    Last Post: - 21st September 2016, 20:50
  2. Replies: 8
    Last Post: - 21st March 2015, 17:21
  3. Replies: 4
    Last Post: - 11th June 2014, 22:53
  4. Replies: 0
    Last Post: - 7th August 2008, 09:02
  5. Internal Oscillator
    By jhorsburgh in forum General
    Replies: 2
    Last Post: - 10th December 2007, 02:13

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts