Init_OPAMP
 
Component Init_OPAMP for HCS08
General Purpose Operational Amplifier
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 - OPAMP Device module
  • Settings - Common OPAMP module settings
    • Power mode - This item selects the power-level mode.

      There are 2 options:
      • High-speed: High-speed mode
      • Low-power: Low-power mode

    • OPAMP mode - The property selects the OPAMP mode.
      There are 4 modes:
      • Buffer - There are no items in this mode.
      • General purpose - There are no items in this mode.
      • Inverting PGA - The following items are displayed in this mode:
        • Gain - This property selects the OPAMP gain in the inverting PGA mode.
      • Non-inverting PGA - The following items are displayed in this mode:
        • Gain - This property selects the OPAMP gain in the non-inverting PGA mode.
  • Pins - Module pins settings.
  • Initialization - Initialization options of the module
    • Module enable - Enables the OPAMP module.

      There are 2 options:
      • yes: The OPAMP is enabled and is powered.
      • no: The OPAMP is disabled and not powered.

    • Call Init method - The Init method of the component may be called after a 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 the user's code.