mirror of
https://github.com/brmlab/edubrm.git
synced 2025-12-16 10:33:59 +01:00
Added ADC and I/O read.
This commit is contained in:
parent
b9d7328f20
commit
2b9ef9759b
8 changed files with 391 additions and 24 deletions
|
|
@ -67,7 +67,7 @@ LPC_GPIO2->DIR |= 1 << 0;
|
|||
// SSP Enable with Master mode
|
||||
LPC_SSP->CR1 = (0x01<<1) | (0x00<<2);
|
||||
|
||||
NVIC_EnableIRQ(SSP_IRQn);
|
||||
// NVIC_EnableIRQ(SSP_IRQn);
|
||||
|
||||
/* Set SSPINMS registers to enable interrupts */
|
||||
/* enable all error related interrupts */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue