Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
G4_mpu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
ISC2
pro
G4_mpu
Commits
a464db86
Commit
a464db86
authored
1 year ago
by
iliya
Browse files
Options
Downloads
Patches
Plain Diff
formatting
parent
961a3b05
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uart.h
+3
-2
3 additions, 2 deletions
uart.h
with
3 additions
and
2 deletions
uart.h
+
3
−
2
View file @
a464db86
...
...
@@ -37,7 +37,8 @@ typedef void (*uart_callback_t)(int int_status);
* receiving. if NULL is given, no interrupt is configured. The callback
* will be called each time a character is received.
*/
void
uart0_init_ref
(
uint32_t
baudrate
,
uart_callback_t
tx_callback
,
uart_callback_t
rx_callback
);
void
uart0_init_ref
(
uint32_t
baudrate
,
uart_callback_t
tx_callback
,
uart_callback_t
rx_callback
);
/* Description: UART 0 initialisation
*
...
...
@@ -47,7 +48,7 @@ void uart0_init_ref(uint32_t baudrate, uart_callback_t tx_callback, uart_callbac
void
uart0_send_ref
(
uint8_t
*
data
,
uint32_t
length
);
/* Description: Block until receiving one byte (polling)
* Return: byte read */
* Return: byte read */
char
uart0_rec_byte_ref
();
/* Description: stop UART0 interrupts. The switch off is only managed by the VIC. */
...
...
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