This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

edgeEnableNotification function definition

Other Parts Discussed in Thread: HALCOGEN

Hi

I am using rm48 and its n2het.
Incessantly while using edgeInterrupt to one of the ports I need n2het edgeNotification . For this reason, some searches done about it and I realized that I must define the function called edgeEnableNotification.

i need some help abaout this and using het edgeNotification.plz help me!

in this case i use below link to config Halcogen :


e2e.ti.com/.../502457

  • Hello,

    You should see the edgeNotification in the Notification.c. Currently it is an empty function. User needs to put in code on what they want to do when the HET receives an edge interrupt depending on your application. For example, when you detect an edge on pin x, you might want to measure the period and duty cycle measured on pin x. Or you might want to use the edge detected on pin x as a trigger to start a PWM on pin y. The application is purely yours. You need to decide what you want to do upon receiving an edgeNotification.

    Please refer to the below HalCoGen N2HET app note for additional information.

    www.ti.com/.../spna225.pdf
  • Hello,
    Is your question answered? If your question is answered can you please close the thread by clicking the 'Verify Answer' button? Thanks.
  • thanks,

    I've found my solution to the problem. My partner programmed het by het_IDE and for this programming UCIII initialization replace default het program by hec.c file so i cant recieve edge interrupt.
    So i must reprogram het and enable this utility at my het programming!


    If I made a mistake in writing I'm sorry errors in the text written in English.

    thanks all!