RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
blk.h 文件参考
#include <rthw.h>
#include <rtthread.h>
#include <drivers/classes/block.h>
#include <dfs_fs.h>
+ blk.h 的引用(Include)关系图:
+ 此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

结构体

struct  rt_blk_disk
 
struct  rt_blk_disk_ops
 
struct  rt_blk_device
 

宏定义

#define RT_BLK_DISK_MAGIC   0xbdaabdaa
 
#define RT_BLK_PARTITION_NONE   (-1)
 
#define RT_BLK_PARTITION_MAX   (RT_UINT32_MAX >> 1)
 

函数

rt_err_t rt_hw_blk_disk_register (struct rt_blk_disk *disk)
 
rt_err_t rt_hw_blk_disk_unregister (struct rt_blk_disk *disk)
 
rt_err_t rt_blk_disk_probe_partition (struct rt_blk_disk *disk)
 
rt_ssize_t rt_blk_disk_get_capacity (struct rt_blk_disk *disk)
 
rt_ssize_t rt_blk_disk_get_logical_block_size (struct rt_blk_disk *disk)
 

宏定义说明

◆ RT_BLK_DISK_MAGIC

#define RT_BLK_DISK_MAGIC   0xbdaabdaa

在文件 blk.h34 行定义.

◆ RT_BLK_PARTITION_NONE

#define RT_BLK_PARTITION_NONE   (-1)

在文件 blk.h38 行定义.

◆ RT_BLK_PARTITION_MAX

#define RT_BLK_PARTITION_MAX   (RT_UINT32_MAX >> 1)

在文件 blk.h39 行定义.

函数说明

◆ rt_hw_blk_disk_register()

rt_err_t rt_hw_blk_disk_register ( struct rt_blk_disk * disk)

◆ rt_hw_blk_disk_unregister()

rt_err_t rt_hw_blk_disk_unregister ( struct rt_blk_disk * disk)

◆ rt_blk_disk_probe_partition()

rt_err_t rt_blk_disk_probe_partition ( struct rt_blk_disk * disk)

◆ rt_blk_disk_get_capacity()

rt_ssize_t rt_blk_disk_get_capacity ( struct rt_blk_disk * disk)

◆ rt_blk_disk_get_logical_block_size()

rt_ssize_t rt_blk_disk_get_logical_block_size ( struct rt_blk_disk * disk)