Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
e39fcda8
Commit
e39fcda8
authored
7 years ago
by
Li Weiwei
Committed by
Damien George
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
stm32/usbd_cdc_interface.h: Fix code comments after recent refactor.
parent
7c7c7b16
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ports/stm32/usbd_cdc_interface.h
+2
-2
2 additions, 2 deletions
ports/stm32/usbd_cdc_interface.h
with
2 additions
and
2 deletions
ports/stm32/usbd_cdc_interface.h
+
2
−
2
View file @
e39fcda8
...
@@ -43,8 +43,8 @@ typedef struct _usbd_cdc_itf_t {
...
@@ -43,8 +43,8 @@ typedef struct _usbd_cdc_itf_t {
uint16_t
rx_buf_get
;
// circular buffer index
uint16_t
rx_buf_get
;
// circular buffer index
uint8_t
tx_buf
[
USBD_CDC_TX_DATA_SIZE
];
// data for USB IN endpoind is stored in this buffer
uint8_t
tx_buf
[
USBD_CDC_TX_DATA_SIZE
];
// data for USB IN endpoind is stored in this buffer
uint16_t
tx_buf_ptr_in
;
// increment this pointer modulo
APP
_TX_DATA_SIZE when new data is available
uint16_t
tx_buf_ptr_in
;
// increment this pointer modulo
USBD_CDC
_TX_DATA_SIZE when new data is available
volatile
uint16_t
tx_buf_ptr_out
;
// increment this pointer modulo
APP
_TX_DATA_SIZE when data is drained
volatile
uint16_t
tx_buf_ptr_out
;
// increment this pointer modulo
USBD_CDC
_TX_DATA_SIZE when data is drained
uint16_t
tx_buf_ptr_out_shadow
;
// shadow of above
uint16_t
tx_buf_ptr_out_shadow
;
// shadow of above
uint8_t
tx_buf_ptr_wait_count
;
// used to implement a timeout waiting for low-level USB driver
uint8_t
tx_buf_ptr_wait_count
;
// used to implement a timeout waiting for low-level USB driver
uint8_t
tx_need_empty_packet
;
// used to flush the USB IN endpoint if the last packet was exactly the endpoint packet size
uint8_t
tx_need_empty_packet
;
// used to flush the USB IN endpoint if the last packet was exactly the endpoint packet size
...
...
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