STM8S/A Standard Peripherals Firmware Library
|
This file contains the defines for TIM1 Sinewave Generation example. More...
#include "stm8s.h"
Go to the source code of this file.
Data Structures | |
struct | MySin_Typedef |
Defines | |
#define | AVERAGE_AMP 0x65 |
#define | COUNTER 5 |
#define | FREQ_65_3595 |
#define | INIT_TIM1_ARR 0xCB |
#define | INIT_TIM1_CCR1 0x65 |
#define | nbr_of_samples_half 30 |
Detailed Description
This file contains the defines for TIM1 Sinewave Generation example.
- Author:
- MCD Application Team
- Version:
- V2.0.1
- Date:
- 18-November-2011
- Attention:
© COPYRIGHT 2014 STMicroelectronics
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file TIM1/TIM1_Sinewave_Generation/main.h.
Define Documentation
#define AVERAGE_AMP 0x65 |
Definition at line 337 of file TIM1/TIM1_Sinewave_Generation/main.h.
Referenced by INTERRUPT_HANDLER().
#define COUNTER 5 |
Definition at line 334 of file TIM1/TIM1_Sinewave_Generation/main.h.
Referenced by INTERRUPT_HANDLER().
#define FREQ_65_3595 |
Definition at line 32 of file TIM1/TIM1_Sinewave_Generation/main.h.
#define INIT_TIM1_ARR 0xCB |
Definition at line 335 of file TIM1/TIM1_Sinewave_Generation/main.h.
Referenced by TIM1_Config().
#define INIT_TIM1_CCR1 0x65 |
Definition at line 336 of file TIM1/TIM1_Sinewave_Generation/main.h.
Referenced by TIM1_Config().
#define nbr_of_samples_half 30 |
Definition at line 333 of file TIM1/TIM1_Sinewave_Generation/main.h.
Referenced by INTERRUPT_HANDLER(), and LoadValueIntoSinStruct().