| Electronic Components Datasheet Search |
|
ATTINY817-MFR. Datasheet(PDF) 152 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
ATTINY817-MFR. Datasheet(HTML) 152 Page - Microchip Technology |
|
152 / 492 page ![]() 20.3.3.5 Timer/Counter Commands A set of commands can be issued by software to immediately change the state of the peripheral. These commands give direct control of the UPDATE, RESTART, and RESET signals. A command is issued by writing the respective value to the Command bit field (CMD) in the Control E register (TCA.CTRLESET). An UPDATE command has the same effect as when an update condition occurs, except that the UPDATE command is not affected by the state of the Lock Update bit (LUPD) in the Control E register (TCA.CTRLE). The software can force a restart of the current waveform period by issuing a RESTART command. In this case the counter, direction, and all compare outputs are set to zero. A RESET command will set all timer/counter registers to their initial values. A RESET can be issued only when the timer/counter is not running (ENABLE=0 in TCA.CTRLA). 20.3.3.6 Split Mode - Two 8-Bit Timer/Counters Split Mode Overview To double the number of timers and PWM channels in the TCA, a Split Mode is provided. In this Split Mode, the 16-bit timer/counter acts as two separate 8-bit timers, which each have three compare channels for PWM generation. The split mode will only work with single slope down count. Split Mode does not support Event action controlled operation. Split Mode Differences to Normal Mode • Count – Down-count only – Timer/Counter counter high and low byte are independent (TCA.LCNT, TCA.HCNT) • Waveform generation – Single Slope PWM only (WGMODE=SINGLESLOPE in TCA.CTRLB) • Interrupt – No change for low byte Timer/Counter (TCA.LCNT) – Underflow interrupt for high byte Timer/Counter (TCA.HCNT) – No compare interrupt or flag for High-byte Compare n registers (TCA.HCMPn) • Event actions: Not compatible • Buffer registers and Buffer Valid flags: Unused • Register access: Byte access to all registers. • Temp register: Unused, 16-bit register of the Normal Mode are accessed as 8-bit 'TCA_H' and 'TCA_L', respectively. ATtiny417/817 © 2017 Microchip Technology Inc. Datasheet Complete DS40001901B-page 152 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |