TinyUSB Library
msch_interface_t::capacity
is only used within TinyUSB Library.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
TinyUSB Library
msch_interface_t::capacity
msch_interface_t::capacity field
Syntax
Show:
Summary
Declaration
from
msc_host.c:63
struct
{
uint32_t
block_size
;
uint32_t
block_count
;
}
capacity
[
CFG_TUH_MSC_MAXLUN
]
;
Examples
References
from
examples
Code
Location
Referrer
}
capacity
[
CFG_TUH_MSC_MAXLUN
]
;
msc_host.c:66
return
p_msc
->
capacity
[
lun
]
.
block_count
;
msc_host.c:101
tuh_msc_get_block_count()
return
p_msc
->
capacity
[
lun
]
.
block_size
;
msc_host.c:106
tuh_msc_get_block_size()
cbw
.
total_bytes
=
block_count
*
p_msc
->
capacity
[
lun
]
.
block_size
;
msc_host.c:230
tuh_msc_read10()
cbw
.
total_bytes
=
block_count
*
p_msc
->
capacity
[
lun
]
.
block_size
;
msc_host.c:252
tuh_msc_write10()
p_msc
->
capacity
[
cbw
->
lun
]
.
block_count
=
tu_ntohl
(
resp
->
last_lba
)
+
1
;
msc_host.c:490
config_read_capacity_complete()
p_msc
->
capacity
[
cbw
->
lun
]
.
block_size
=
tu_ntohl
(
resp
->
block_size
)
;
msc_host.c:491
config_read_capacity_complete()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
msch_interface_t::capacity
is read by 5 functions:
All items filtered out
msch_interface_t::capacity
tuh_msc_get_block_count()
tuh_msc_get_block_size()
tuh_msc_read10()
tuh_msc_write10()
config_read_capacity_complete()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out