1/3/2023 0 Comments Stm8 cosmic first parameter![]() ![]() // Warning: The selected timer update/overflow interrupt vector must point to // the TSL_Timer_ISR() interrupt routine. // The timer you select must be a *basic 8-bit timer* and must be different // of the TIMACQ timer described above (TIM4 for example). //= #define TIMACQ (TIM3) #define TIMACQ_CNTR_ADD (0x5328) //= // // 3) GENERIC TIMEBASE TIMER SELECTION (TIMTICK) // // Set the generic timebase timer. // The timer you select must be a *16-bit timer*, have a *8-bit prescaler* and // must be different of the TIMTICK timer described below (TIM1, TIM2 or TIM3 // for example). * Define to prevent recursive inclusion -*/ #ifndef _TSL_CONF_H #define _TSL_CONF_H //= // // 1) MCU SELECTION // // 1 = STM8S/A // //= #define MCU_SELECTION (1) //= // // 2) ACQUISITION TIMER SELECTION (TIMACQ) // // Set the acquisition timer and its counter high register address. These properties are just as important as the electrical diagram of the touch button because these physical properties set its characteristics. The physical attributes of the capacitive touch button is documented in the user manual of the STM8S105 Discovery board. The light blue lines represent the touch acquisition I/O. The orange line is the load or charge-discharge I/O. The purple lines on the right side are parts of the active shield. ![]() These are what that should be focused on for now. A part of this Discovery board schematic is shown below: The STM8S105C6T6 Discovery board features a capacitive touch button. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |