Electronic Components Datasheet Search |
|
AT89LP4052 Datasheet(PDF) 30 Page - ATMEL Corporation |
|
AT89LP4052 Datasheet(HTML) 30 Page - ATMEL Corporation |
30 / 94 page 30 3547J–MICRO–10/09 AT89LP2052/LP4052 Figure 16-6. Timer/Counter 1 PWM Mode 0 Figure 16-7. Timer/Counter 1 PWM Mode 1 16.6 Timer/Counter Pin Configuration In order to use the counter input function or pulse width modulation output feature of Timer 0 or Timer 1, the Timer pins T0 (P3.4) and T1 (P3.5) must be configured appropriately. See Section 15.7 “Port Alternate Functions” on page 23. For the external counter input function, T0 or T1 should be configured as input-only, or as bidirectional with P3.4 or P3.5 set to “1”. The counter function may also be triggered by an internal event if T0 or T1 is configured in a bidirectional or output mode and the port bit is toggled accordingly. To enable a PWM output on T0 or T1, the pin must be configured in a bidirectional or output mode with P3.4 or P3.5 set to “1”. Setting the PWM0EN or PWM1En bits in TCONB will not automatically configure the pins as outputs. The PWM outputs will use a full CMOS push-pull driver if they are in the quasi-bidirectional or output configurations. 17. External Interrupts The INT0 and INT1 external interrupt sources can be programmed to be level-activated or tran- sition-activated by setting or clearing bit IT1 or IT0 in Register TCON. If ITx = 0, external interrupt x is triggered by a detected low at the INTx pin. If ITx = 1, external interrupt x is nega- tive edge-triggered. In this mode if successive samples of the INTx pin show a high in one cycle OSC TR1 GATE INT1 Pin TL1 (8 Bits) Control PSC1 TH1 (8 Bits) OCR1 RH1 (8 Bits) = T1 OSC TR1 GATE INT1 Pin TL1 (8 Bits) Control TH1 (8 Bits) OCR1 RH1 (8 Bits) = T1 RL1 (8 Bits) |
Similar Part No. - AT89LP4052_14 |
|
Similar Description - AT89LP4052_14 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | 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 |