⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iadc.doc

📁 PWM同步
💻 DOC
字号:
=============================================================================
List of generated methods in project: Iadc

THIS TEXT DESCRIPTION IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
=============================================================================

Module "AdcFD"     (bean ADC)
   - AdcFD_Enable -Enables A/D converter bean. <Events> may be generated (<DisableEvent>/<EnableEvent>). If possible, this 
                method switches on A/D converter device, voltage reference, etc.
   - AdcFD_Disable -Disables A/D converter bean. No <events> will be generated. If possible, this method switches off A/D 
                converter device, voltage reference, etc.
   - AdcFD_Start -This method starts continuous conversion of the A/D channels. When each measurement on all channels has 
                finished the <OnEnd > event may be invoked. This method is not available if the <interrupt service> is disabled 
                and the device doesn't support the continuous mode. Note: If time of measurement is too short and the 
                instruction clock is too slow then the conversion complete interrupt and its handler may cause a system 
                overflow.
   - AdcFD_Measure -This method performs one measurement on all channels that are set in the bean inspector. (Note: If the 
                <number of conversions> is more than one the conversion of A/D channels is performed specified number of times.)
   - AdcFD_EnableIntTrigger -Enables the internal trigger mode. A conversion of all channels will be launched by internal sync 
                pulse. If the <Number of conversions> is greater than 1, a conversion will be launched more than once (by an 
                internal signal) according to <Number of conversions>. It's possible to disable the trigger mode by <Stop> 
                method. This EnableIntTrigger method is available only when the <Internal trigger> property is enabled.
   - AdcFD_GetValue -Returns the last measured values for all channels. Format and width of the value is a native format of the 
                A/D converter.
   - AdcFD_GetChanValue -Returns the last measured value of the required channel. Format and width of the value is a native 
                format of the A/D converter.
   - AdcFD_GetValue8 -This method returns the last measured values of all channels justified to the left. Compared with 
                <GetValue> method this method returns more accurate result if the <number of conversions> is greater than 1 and 
                <AD resolution> is less than 8 bits. In addition, the user code dependency on <AD resolution> is eliminated.
   - AdcFD_GetChanValue8 -This method returns the last measured value of required channel justified to the left. Compared with 
                <GetChanValue> method this method returns more accurate result if the <number of conversions> is greater than 1 
                and <AD resolution> is less than 8 bits. In addition, the user code dependency on <AD resolution> is eliminated.
   - AdcFD_GetValue16 -This method returns the last measured values of all channels justified to the left. Compared with 
                <GetValue> method this method returns more accurate result if the <number of conversions> is greater than 1 and 
                <AD resolution> is less than 16 bits. In addition, the user code dependency on <AD resolution> is eliminated.

Module "timerRamp" (bean ADC\External_Trigered_Timer)
   - timerRamp_Init -This method initializes registers of the TMR module according to this Peripheral Initialization Bean 
                settings.   Call this method in the user code to initialize the module. By default, the method is called by PE 
                automatically; see "Call Init method" property of the bean for more details.

Module "PWM_sync"  (bean PWMMC)
   - PWM_sync_Enable -Enable the bean - it starts the signal generation. Events can be disabled/enabled by 
                DisableEvent/EnableEvent.
   - PWM_sync_Disable -Disable the bean - it stops signal generation and events calling. When the timer is disabled, it is 
                possible to call method "SetOutput" to control the output value on corresponding pin.
   - PWM_sync_SetDuty -Setting duty(value) register of selected channel.  The value is loaded after calling Load() method.
   - PWM_sync_Load -Apply last setting of the methods SetDuty, SetDutyPercent, SetPeriod and SetPrescaler.
   - PWM_sync_SetRatio16 -This method sets a new duty-cycle ratio for selected channel.
   - PWM_sync_SetRatio15 -This method sets a new duty-cycle ratio for selected channel.
   - PWM_sync_OutputPadEnable -Method enables output pads.
   - PWM_sync_OutputPadDisable -Method disables output pads.

Module "PC_M1"     (bean PC_Master)

Module "Cpu"       (bean 56F8346)
   - Cpu_EnableInt -Enables all maskable interrupts
   - Cpu_DisableInt -Disables all maskable interrupts
   - Cpu_SetWaitMode -Sets low power mode - Wait mode.  For more information about the wait mode see this CPU documentation.  
                Release from wait mode: Reset or interrupt
   - Cpu_SetStopMode -Sets low power mode - Stop mode.  For more information about the stop mode see this CPU documentation.
   - Cpu_SetDataMode -Sets the Data memory map to use either internal & external resources or external resources only.

===================================================================================

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -