|
BU21072MUV_16 Datasheet, PDF (13/40 Pages) Rohm – Capacitive Switch Controller ICs | |||
|
◁ |
BU21072MUV / BU21078MUV / BU21078FV
ã0xE0-0xEB : Configuration of PWMã
Name:
PWM-0/1/2/3
Address: 0xE0 â 0xEB
Description: Each of the 4 PWM timers (PWM-0/1/2/3) has 5 parameters. One PWM timer is able to be assigned to one
LED port.
â RISï¼Rising Period
If the setting value is 0x0, PWM function is disabled.
If the setting value is from 0x1 to 0xF, Rising Period is about 317[msec] x RIS.
(317 ⦠Rising Period ⦠4755 [msec])
Update configuration timingï¼
In rising periodï¼Within 3msec.
In other periodsï¼Next rising period.
â¡ FALï¼Falling Period
If the setting value is 0x0, PWM function is disabled.
If the setting value is from 0x1 to 0xF, Falling Period is about 317[msec] x FAL.
(317 ⦠Falling Period ⦠4755 [msec])
Update configuration timingï¼
In falling periodï¼Within 3msec.
In other periodsï¼Next falling period.
⢠ONï¼Lighting-On Period
If the setting value is 0x0, LED always lights.
If the setting value is from 0x1 to 0xF, Light-On Period is about 300[msec] x ON.
(300 ⦠Lighting-On Period ⦠4500 [msec])
In the case of that the LED always lights, the way to turn LED off is to write '0' to the LED port
register. And the interrupt of PWM continuous flashing of LED finish is not issued. Falling period
is applied.
Update configuration timing :
Next lighting-on period.
⣠OFFï¼Lighting-Off Period
The settable rangeï¼ 0x0 ⦠OFF ⦠0xF
Light-Off Period is about 300[msec] x OFF.
(0 ⦠Lighting-Off Period ⦠4500 [msec])
Update configuration timing :
Next lighting-off period.
⤠REPï¼Repeat Count
If the setting value is 0x0, non repeat.
If the setting value is 0xF, unlimited repeat.
If the setting value is from 0x1 to 0xE, repeat as many times as the setting value.
When the PWM drive repeat as many times as the setting value, the register interrupt of PWM
continuous flashing is set to '1' and I/O port INT is set to "H". Interrupts are cleared by writing â0â
to the register clear interrupt of PWM continuous flashing (Address 0xFB).
In the case that the setting is âunlimited repeatâ, interrupts are not released.
Figure 9. PWM waveform
www.rohm.com
© 2012 ROHM Co., Ltd. All rights reserved.
TSZ22111ã»15ã»001
13/36
TSZ02201-0L5L0F300640-1-2
14.Jul.2016 Rev.004
|
▷ |