TimeDate
 
 
 Bean TimeDate
 
Time and date

Parameters of the bean.

Properties:
  • Bean name - Name of the bean.
  • Timer - Periodic interrupt source: compare register, reload register, free running counter, time base counter function, RTI or bean RTIshared (the pull-down menu offers timer types).
    Compare and reload registers generate interrupt on matching their value with the counter, free-running generates interrupt on the counter overflow. RTI and time base modul generate a periodic interrupt by dividing the crystal or system clock frequency.
  • Counter - Counter register of the timer (for information only).
  • Interrupt service/event - Bean uses the interrupt service for the timer function.
    • Interrupt - Interrupt vector invoked from the timer (for information only).
    • Interrupt priority - Priority of the interrupt associated with the timer.
  • Prescaler - Prescaler selected for the timer.
    • Internal prescaler - Internal prescaler value.
      This item is valid only if the prescaler above is selected internal peripheral (such as for example timer) and this peripheral allows additional settings. This HW feature is supported only for several CPU architectures.
    • Internal compare - Internal compare prescaler value.
      This item is valid only if the prescaler above is selected internal peripheral (such as for example timer) and this peripheral allows additional settings. This HW feature is supported only for several CPU architectures.
  • Resolution - Resolution and precision of a time and date. It is necessary to specify both a value and a unit (see Timing Setting Syntax). The setting can be made with the help of the Timing dialog box that gets open when clicking on button (...).
  • Bean uses entire timer - The bean can use every subsystem of the timer, more actions may be done by HW instead of SW but no other bean can share the timer.
  • Initialization - Initial settings (after power-on or reset).
    • Enabled in init. code - The bean is enabled after power-on or reset (in initialization code).
    • Time - Time set in initialization code.
    • Date - Date set in initialization code (date is supported only if method SetDate is generated).
  • CPU clock/speed selection - Settings for the CPU speed modes: if the bean is supported or not.
    For details about speed modes please refer to page Speed Modes Support.



Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.