mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
as3543: name 0x1b & 0x1c registers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25379 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cc1f6033de
commit
1bfffbcaaa
4 changed files with 22 additions and 18 deletions
|
|
@ -27,8 +27,8 @@
|
|||
void _backlight_on(void)
|
||||
{
|
||||
ascodec_write(0x25, ascodec_read(0x25) | 2); /* lcd power */
|
||||
ascodec_write(0x1c, 8|1);
|
||||
ascodec_write(0x1b, 0x90);
|
||||
ascodec_write(AS3543_PMU_ENABLE, 8|1);
|
||||
ascodec_write(AS3543_BACKLIGHT, 0x90);
|
||||
lcd_enable(true);
|
||||
}
|
||||
|
||||
|
|
@ -36,8 +36,8 @@ void _backlight_off(void)
|
|||
{
|
||||
lcd_enable(false);
|
||||
ascodec_write(0x25, ascodec_read(0x25) & ~2); /* lcd power */
|
||||
ascodec_write(0x1c, 8|1);
|
||||
ascodec_write(0x1b, 0);
|
||||
ascodec_write(AS3543_PMU_ENABLE, 8|1);
|
||||
ascodec_write(AS3543_BACKLIGHT, 0);
|
||||
}
|
||||
|
||||
void _buttonlight_on(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue