| Electronic Components Datasheet Search |
|
MEC1322 Datasheet(PDF) 334 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MEC1322 Datasheet(HTML) 334 Page - Microchip Technology |
|
334 / 456 page ![]() MEC1322 DS00001719D-page 334 2014 - 2015 Microchip Technology Inc. The other registers in the block do not affect the PWM or the LED output in Blinking/PWM mode. 28.9.3 BREATHING EXAMPLES 28.9.3.1 Linear LED brightness change In this example, the brightness of the LED increases and diminishes in a linear fashion. The entire cycle takes 5 sec- onds. The rise time and fall time are 1.6 seconds, with a hold time at maximum brightness of 200ms and a hold time at minimum brightness of 1.6 seconds. The LED brightness varies between full off and full on. The PWM size is set to 8- bit, so the time unit for adjusting the PWM is approximately 8ms. The registers are configured as follows: Note: At a duty cycle value of 00h (in the MIN register), the LED output is fully off. At a duty cycle value of 255h, the LED output is fully on. Alternatively, In order to force the LED to be fully on, firmware can set the CON- TROL field of the Configuration register to 3 (always on). TABLE 28-13: LINEAR EXAMPLE CONFIGURATION Field Value PSIZE 8-bit MAX 255 MIN 0 HD 25 ticks (200ms) LD 200 ticks (1.6s) Duty cycle most significant bits 000b 001b 010b 011b 100b 101b 110b 1110 LED_INT 888 8888 8 LED_STEP 10 10 10 10 10 10 10 10 |
|
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 |