Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MSP430FR5994 BOOSTXL-CC1120-90 Library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Energy-Driven Computing
MSP430FR5994 BOOSTXL-CC1120-90 Library
Commits
81f89d39
Commit
81f89d39
authored
5 years ago
by
Edward Longman
Browse files
Options
Downloads
Patches
Plain Diff
Correct typos of register names
parent
1ec114d1
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
source/lib/hal_mcu/hal_mcu.c
+1
-1
1 addition, 1 deletion
source/lib/hal_mcu/hal_mcu.c
source/lib/uart_drv/uart_drv.c
+1
-1
1 addition, 1 deletion
source/lib/uart_drv/uart_drv.c
source/lib/uart_drv/uart_drv.h
+5
-1
5 additions, 1 deletion
source/lib/uart_drv/uart_drv.h
with
7 additions
and
3 deletions
source/lib/hal_mcu/hal_mcu.c
+
1
−
1
View file @
81f89d39
...
...
@@ -255,7 +255,7 @@ void msp_setup(void) {
// Setup Watch dog timer for 0.5 second tick using 16MHz DCO on MSP430FR5994
// WDT 0.5s @ 16mHz, SMCLK, interval timer
WDTCTL
=
WDTPW
0
+
WDTSSEL_0
+
WDTTMSEL
+
WDTIS_2
;
WDTCTL
=
WDTPW
+
WDTSSEL_0
+
WDTTMSEL
+
WDTIS_2
;
SFRIE1
|=
WDTIE
;
// Enable WDT interrupt
// Unlock the system.
...
...
This diff is collapsed.
Click to expand it.
source/lib/uart_drv/uart_drv.c
+
1
−
1
View file @
81f89d39
...
...
@@ -568,7 +568,7 @@ void __attribute__ ((interrupt(USCI_A1_VECTOR))) USCI_A1_ISR (void)
__bic_SR_register_on_exit
(
LPM3_bits
);
}
break
;
case
UCIV__UCTX
C
FG
:
case
UCIV__UCTX
I
FG
:
// check if there is more data to send
if
(
circ_buf_remainder
(
&
uart_tx_buf
)
<
uart_tx_buf
.
size_of_buffer
)
{
UCA1TXBUF
=
circ_buf_get_data
(
&
uart_tx_buf
);
...
...
This diff is collapsed.
Click to expand it.
source/lib/uart_drv/uart_drv.h
+
5
−
1
View file @
81f89d39
...
...
@@ -34,7 +34,7 @@
#define F2_UART_INTF_USCIA0 0xA0
#define F5_UART_INTF_USCIA0 0xA1
#define F5_UART_INTF_USCIA1 0xA2
#define FR5_UART_INTF_USCIA0 0xA3
#define FR5
x
_UART_INTF_USCIA0 0xA3
/********************************************************************************
* Select which port will be used for interface to UART
...
...
@@ -111,6 +111,10 @@
#define TX_ISR_OFF 12
#define TX_ISR_ON 13
// Buffer sizes
#define UART_BUFF_SIZE 80
#define TX_BUFF_SIZE 64
#define RSSI_OFFSET 72
/*
* macro function for entering critical section (basically saving the
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment