Init_RTC
 
Component Init_RTC for HCS08
Real-Time Counter(RTC)
Component Level: Peripheral Initialization
Properties:
(Properties are parameters of the component. Please see the Embedded Components page for more information.)
  • Component name - Name of the component.
  • Device - Selection of the RTC device module.
  • Settings - Common RTC module settings.
    • Clock settings - Clock/timing settings of the module.
      • Clock select - Select of the RTC clock source.
        This item modifies the RTCLKS[0:1] bits in the RTCSC register.
      • Prescaler - This item defines the prescaler of the RTC.
        This item modifies the RTCPS[0:3] bits in the RTCSC register.
      • RTC modulo value - RTC modulo register value.
        This item modifies the RTCMOD register.
      • Period - Period of the RTC module (for information only).
        This item is influenced by the following properties: Prescaler, Clock Select.
  • Interrupts - Interrupts settings of the module.
  • Initialization - Initialization options of the module.
    • Call Init method - The Init method of the component may be called after power-on or reset (in initialization code) by PE.
      yes - The Init method is called by PE
      no - The Init method is not called by PE, it should be called in user's code