Mercurial > ~darius > hgwebdir.cgi > stm32test
comparison lcd.h @ 5:efa2c22266e3
PWM control LED backlight.
Not sure why the AFIO clock needs to be on for this but not, say USART.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Fri, 06 Jan 2012 09:46:28 +1030 |
parents | 2c87e30c982d |
children | 9404b9869c27 |
comparison
equal
deleted
inserted
replaced
4:2c87e30c982d | 5:efa2c22266e3 |
---|---|
46 #define FL_BPL (1<<7) | 46 #define FL_BPL (1<<7) |
47 void FlashWriteStatus(uint8_t status); | 47 void FlashWriteStatus(uint8_t status); |
48 | 48 |
49 void FlashWriteCtl(int enable); | 49 void FlashWriteCtl(int enable); |
50 | 50 |
51 void lcd_setpwm(uint16_t val); | |
52 | |
51 #endif | 53 #endif |
52 | 54 |