| Electronic Components Datasheet Search |
|
ATTINY817-MFR. Datasheet(PDF) 158 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
ATTINY817-MFR. Datasheet(HTML) 158 Page - Microchip Technology |
|
158 / 492 page ![]() Bit 7 6 5 4 3 2 1 0 CMPnEN2 CMPnEN1 CMPnEN0 ALUPD WGMODE[2:0] Access R/W R/W R/W R/W R/W R/W R/W Reset 0 0 0 0 0 0 0 Bits 4, 5, 6 – CMPnEN: Compare n Enable In the FRQ or PWM waveform generation mode, these bits will override the PORT output register for the corresponding pin. Value Description 0 PORT output settings for the pin with WOn output respected. 1 PORT output settings for pin with WOn output overridden in FRQ or PWM waveform generation mode. Bit 3 – ALUPD: Auto Lock Update The Auto Lock Update feature controls the Lock Update (LUPD) bit in the TCA.CTRLE register. When ALUPD is written to ‘1’, LUPD will be set to ‘1’ until the Buffer Valid (CMPnBV) bits of all enabled compare channels are ‘1’. This condition will clear LUPD. It will remain cleared until the next UPDATE condition, where the buffer values will be transferred to the CMPn registers and LUPD will be set to ‘1’ again. This makes sure that CMPnBUF register values are not transferred to the CMPn registers until all enabled compare buffers are written. Value Description 0 LUPD in TCA.CTRLE not altered by system. 1 LUPD in TCA.CTRLE set and cleared automatically. Bits 2:0 – WGMODE[2:0]: Waveform Generation Mode These bits select the waveform generation mode, and control the counting sequence of the counter, TOP value, UPDATE condition, interrupt condition, and type of waveform that is generated. No waveform generation is performed in the normal mode of operation. For all other modes, the result from the waveform generator will only be directed to the PORT pins if the corresponding CMPnEN bit has been set to enable this. The port pin direction must be set as output. Table 20-5. Timer Waveform Generation Mode WGMODE[2:0] Group Configuration Mode of Operation Top Update OVF 000 NORMAL Normal PER TOP TOP 001 FRQ Frequency CMP0 TOP TOP 010 - Reserved - - - 011 SINGLESLOPE Single-slope PWM PER BOTTOM BOTTOM 100 - Reserved - - - 101 DSTOP Dual-slope PWM PER BOTTOM TOP 110 DSBOTH Dual-slope PWM PER BOTTOM TOP and BOTTOM 111 DSBOTTOM Dual-slope PWM PER BOTTOM BOTTOM ATtiny417/817 © 2017 Microchip Technology Inc. Datasheet Complete DS40001901B-page 158 |
|
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 |