This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LPC810についていろいろメモ(4)GPIO入力関連 | |
// ha2zakura | |
// 参考: | |
// http://www.nxp.com/documents/user_manual/UM10601.pdf | |
// 省略部分はメモ(1) | |
// ___ ___ | |
// PIO0_5 [1|O U |8] PIO0_0 | |
// PIO0_4 [2| |7] GND | |
// PIO0_3 [3| |6] 3.3V |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "LPC8xx.h" | |
#include "delay_st.h" | |
int main(void) { | |
LPC_SYSCON->SYSAHBCLKCTRL |= (1<<7); | |
LPC_SWM->PINENABLE0 = 0xffffffbfUL; | |
LPC_GPIO_PORT->DIR0 |= (1<<2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LPC810についていろいろメモ(3)MRT関連 | |
// ha2zakura | |
// Lチカです | |
// http://ktrikms.blog.jp/archives/69744499.html | |
// 参考: | |
// http://www.nxp.com/documents/user_manual/UM10601.pdf | |
// http://d.hatena.ne.jp/mikkabo/20150401/1427890791 | |
// 省略部分はメモ(1)(2) | |
// ___ ___ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LPC812についていろいろメモ(1) | |
// ha2zakura | |
// 参考: | |
// http://www.nxp.com/documents/user_manual/UM10601.pdf | |
// http://d.hatena.ne.jp/mikkabo/20150424/1429907816 | |
// 大体LPC810と同じ。 | |
// _____ _____ | |
// PIO0_17 [ 1|| U |20] PIO0_14 | |
// PIO0_13 [ 2|| |19] PIO0_0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LPC810についていろいろメモ(2)GPIO出力関連 | |
// ha2zakura | |
// 参考: | |
// http://www.nxp.com/documents/user_manual/UM10601.pdf | |
// http://d.hatena.ne.jp/mikkabo/20150401/1427886535 | |
// 省略部分はメモ(1) | |
// ___ ___ | |
// PIO0_5 [1|O U |8] PIO0_0 | |
// PIO0_4 [2| |7] GND |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LPC810についていろいろメモ(1)SysTick関連 | |
// ha2zakura | |
// Lチカです | |
// http://ktrikms.blog.jp/archives/69449374.html | |
// 参考: | |
// http://www.nxp.com/documents/user_manual/UM10601.pdf | |
// http://d.hatena.ne.jp/mikkabo/20150424/1429907816 | |
// ___ ___ | |
// PIO0_5 [1|O U |8] PIO0_0 |
NewerOlder