RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
rt_pic_ops结构体 参考

#include <pic.h>

成员变量

const char * name
 
rt_err_t(* irq_init )(struct rt_pic *pic)
 
rt_err_t(* irq_finit )(struct rt_pic *pic)
 
void(* irq_enable )(struct rt_pic_irq *pirq)
 
void(* irq_disable )(struct rt_pic_irq *pirq)
 
void(* irq_ack )(struct rt_pic_irq *pirq)
 
void(* irq_mask )(struct rt_pic_irq *pirq)
 
void(* irq_unmask )(struct rt_pic_irq *pirq)
 
void(* irq_eoi )(struct rt_pic_irq *pirq)
 
rt_err_t(* irq_set_priority )(struct rt_pic_irq *pirq, rt_uint32_t priority)
 
rt_err_t(* irq_set_affinity )(struct rt_pic_irq *pirq, rt_bitmap_t *affinity)
 
rt_err_t(* irq_set_triger_mode )(struct rt_pic_irq *pirq, rt_uint32_t mode)
 
void(* irq_send_ipi )(struct rt_pic_irq *pirq, rt_bitmap_t *cpumask)
 
void(* irq_compose_msi_msg )(struct rt_pic_irq *pirq, struct rt_pci_msi_msg *msg)
 
void(* irq_write_msi_msg )(struct rt_pic_irq *pirq, struct rt_pci_msi_msg *msg)
 
int(* irq_alloc_msi )(struct rt_pic *pic, struct rt_pci_msi_desc *msi_desc)
 
void(* irq_free_msi )(struct rt_pic *pic, int irq)
 
rt_err_t(* irq_set_state )(struct rt_pic *pic, int hwirq, int type, rt_bool_t state)
 
rt_err_t(* irq_get_state )(struct rt_pic *pic, int hwirq, int type, rt_bool_t *out_state)
 
int(* irq_map )(struct rt_pic *pic, int hwirq, rt_uint32_t mode)
 
rt_err_t(* irq_parse )(struct rt_pic *pic, struct rt_ofw_cell_args *args, struct rt_pic_irq *out_pirq)
 
rt_ubase_t flags
 

详细描述

在文件 pic.h53 行定义.

结构体成员变量说明

◆ name

const char* rt_pic_ops::name

在文件 pic.h55 行定义.

◆ irq_init

rt_err_t(* rt_pic_ops::irq_init) (struct rt_pic *pic)

在文件 pic.h57 行定义.

◆ irq_finit

rt_err_t(* rt_pic_ops::irq_finit) (struct rt_pic *pic)

在文件 pic.h58 行定义.

◆ irq_enable

void(* rt_pic_ops::irq_enable) (struct rt_pic_irq *pirq)

在文件 pic.h60 行定义.

◆ irq_disable

void(* rt_pic_ops::irq_disable) (struct rt_pic_irq *pirq)

在文件 pic.h61 行定义.

◆ irq_ack

void(* rt_pic_ops::irq_ack) (struct rt_pic_irq *pirq)

在文件 pic.h62 行定义.

◆ irq_mask

void(* rt_pic_ops::irq_mask) (struct rt_pic_irq *pirq)

在文件 pic.h63 行定义.

◆ irq_unmask

void(* rt_pic_ops::irq_unmask) (struct rt_pic_irq *pirq)

在文件 pic.h64 行定义.

◆ irq_eoi

void(* rt_pic_ops::irq_eoi) (struct rt_pic_irq *pirq)

在文件 pic.h65 行定义.

◆ irq_set_priority

rt_err_t(* rt_pic_ops::irq_set_priority) (struct rt_pic_irq *pirq, rt_uint32_t priority)

在文件 pic.h67 行定义.

◆ irq_set_affinity

rt_err_t(* rt_pic_ops::irq_set_affinity) (struct rt_pic_irq *pirq, rt_bitmap_t *affinity)

在文件 pic.h68 行定义.

◆ irq_set_triger_mode

rt_err_t(* rt_pic_ops::irq_set_triger_mode) (struct rt_pic_irq *pirq, rt_uint32_t mode)

在文件 pic.h69 行定义.

◆ irq_send_ipi

void(* rt_pic_ops::irq_send_ipi) (struct rt_pic_irq *pirq, rt_bitmap_t *cpumask)

在文件 pic.h71 行定义.

◆ irq_compose_msi_msg

void(* rt_pic_ops::irq_compose_msi_msg) (struct rt_pic_irq *pirq, struct rt_pci_msi_msg *msg)

在文件 pic.h73 行定义.

◆ irq_write_msi_msg

void(* rt_pic_ops::irq_write_msi_msg) (struct rt_pic_irq *pirq, struct rt_pci_msi_msg *msg)

在文件 pic.h74 行定义.

◆ irq_alloc_msi

int(* rt_pic_ops::irq_alloc_msi) (struct rt_pic *pic, struct rt_pci_msi_desc *msi_desc)

在文件 pic.h75 行定义.

◆ irq_free_msi

void(* rt_pic_ops::irq_free_msi) (struct rt_pic *pic, int irq)

在文件 pic.h76 行定义.

◆ irq_set_state

rt_err_t(* rt_pic_ops::irq_set_state) (struct rt_pic *pic, int hwirq, int type, rt_bool_t state)

在文件 pic.h81 行定义.

◆ irq_get_state

rt_err_t(* rt_pic_ops::irq_get_state) (struct rt_pic *pic, int hwirq, int type, rt_bool_t *out_state)

在文件 pic.h82 行定义.

◆ irq_map

int(* rt_pic_ops::irq_map) (struct rt_pic *pic, int hwirq, rt_uint32_t mode)

在文件 pic.h84 行定义.

◆ irq_parse

rt_err_t(* rt_pic_ops::irq_parse) (struct rt_pic *pic, struct rt_ofw_cell_args *args, struct rt_pic_irq *out_pirq)

在文件 pic.h85 行定义.

◆ flags

rt_ubase_t rt_pic_ops::flags

在文件 pic.h88 行定义.