Mercurial > ~darius > hgwebdir.cgi > stm32temp
comparison flash.h @ 31:03592ca4d37e
Port tempctrl.c from AVR. I removed the beep code as I don't have a
beeper on the STM32 board.
Reworked the heat/cool stuff so it can use separate ports.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Tue, 27 Nov 2012 13:20:52 +1030 |
parents | 5c9d2e3d6591 |
children | aaf0603d7f88 |
comparison
equal
deleted
inserted
replaced
30:435c6330896c | 31:03592ca4d37e |
---|---|
1 void flashcmd(char **, int); | 1 void flashcmd(int argc, char **argv); |
2 uint16_t flashreadid(void); | 2 uint16_t flashreadid(void); |
3 uint8_t flashreadstatus(void); | 3 uint8_t flashreadstatus(void); |
4 void flashwritestatus(uint8_t status); | 4 void flashwritestatus(uint8_t status); |
5 void flashwritectl(int enable); | 5 void flashwritectl(int enable); |
6 void flash4kerase(uint32_t addr); | 6 void flash4kerase(uint32_t addr); |