Skip to Navigation
Home
  • Company
    • Quick Facts
    • Board of Directors
    • Management Team
    • Press Releases
    • News Coverage
    • Newsletter
    • Careers
    • Articles
    • Ember Chronology
    • Contact Us
  • Products
    • ZigBee Chips
    • ZigBee Software
    • ZigBee Development Tools
    • Documentation
  • Buy
    • Digi-Key (Online)
    • Distributors
  • Applications
    • AMI & AMR
    • Integrated Home Automation
    • Building Automation
    • Others
  • ZigBee
    • About ZigBee
    • Ember & ZigBee
    • ZigBee FAQ
    • Download Specifications
    • ZigBee Events
  • Partners
  • Support
    • Training
  • Events
Home › FAQs

Can I remove halTimerIsr() if I'm not using the buzzer or any timer routines in my application?

Categories:
  • Software : Embedded
  • EM250
halTimerIsr(), the interrupt for user timers TMR1 and TMR2, is used in the default EM250 HAL for operating the buzzer device (via PWM). For customers whose custom hardware isn't using the user timers, this FAQ explains how to reduce the HAL's flash footprint by eliminating the code for this interrupt service routine.

 

The halTimerIsr() routine is a required interrupt service routine [ISR], as dictated by Ember's provided cstartup code (cstartup.xap). However, the ISR does not necessarily need to be populated. (Nothing in the stack relies on the behavior of this ISR.) If your application does not make use of this ISR for application timer interrupts, the function can be safely stubbed out (empty function definition) in order to reduce code size impact in the HAL (but still providing the necessary interrupt vector for the TMR1 and TMR2 peripherals).

  • Login to post comments
  • Printer-friendly version

Search

FAQs

  • All (166)
  • Software : Embedded (65)
  • Software : Networking (70)
  • Hardware : Design (22)
  • Hardware : Manufacturing (10)
  • Tools : Dev Boards (2)
  • Tools : ISD, ISA (21)
  • Tools : xIDE (6)
  • Tools : Other (7)
  • ZigBee (1)
  • Change Notification (0)
Primary links
  • Developer Blog
  • Documentation
    • Release Notes
  • Contributed Software
  • FAQs
  • Change Notifications
  • Training
Portal
  • My Account
  • Search
User login
  • Request new password

Company | Products | Buy | Applications | ZigBee | Partners | Support | Events | Contact Us

©2007-2008 Ember Corporation | All rights reserved | Privacy