Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
card10
firmware
Commits
40fb232f
Commit
40fb232f
authored
May 07, 2019
by
schneider
Browse files
fix(testapp): Poll interrupt. Interruptdoes not seem to be working
parent
a975868e
Changes
1
Hide whitespace changes
Inline
Side-by-side
testapp/main.c
View file @
40fb232f
...
...
@@ -288,7 +288,7 @@ int main(void)
TMR_Delay
(
MXC_TMR0
,
MSEC
(
1500
),
0
);
// Enable 32 kHz output
//
RTC_SquareWave(MXC_RTC, SQUARE_WAVE_ENABLED, F_32KHZ, NOISE_IMMUNE_MODE, NULL);
RTC_SquareWave
(
MXC_RTC
,
SQUARE_WAVE_ENABLED
,
F_32KHZ
,
NOISE_IMMUNE_MODE
,
NULL
);
// Enable SPI
sys_cfg_spi_t
spi17y_master_cfg
;
...
...
@@ -337,7 +337,7 @@ int main(void)
#if 1
// Read back ECG samples from the FIFO
if
(
ecgFIFOIntFlag
)
{
if
(
ecgFIFOIntFlag
||
GPIO_InGet
(
&
interrupt_pin
)
==
0
)
{
ecgFIFOIntFlag
=
false
;
//printf("Int\n");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment