Microchip® Advanced Software Framework

parc_module Struct Reference

PARC driver structure.

Note
This structure should be initialized by the function parc_init().

#include <parc.h>

Data Fields

parc_callback_t callback [PARC_CALLBACK_N]
 Array to store callback functions (for PARC driver use only). More...
 
uint8_t enabled_callback_mask
 Bitmask of callbacks enabled/disabled (for PARC driver use only). More...
 
Parc * hw
 Base address of the PARC module. More...
 
struct parc_configparc_cfg
 Pointer to the PARC configuration structure. More...
 
uint8_t registered_callback_mask
 Bitmask of callbacks registered (for PARC driver use only). More...
 

parc_callback_t parc_module::callback[PARC_CALLBACK_N]

Array to store callback functions (for PARC driver use only).

Referenced by _parc_interrupt_handler(), parc_init(), parc_register_callback(), and parc_unregister_callback().

uint8_t parc_module::enabled_callback_mask

Bitmask of callbacks enabled/disabled (for PARC driver use only).

Referenced by _parc_interrupt_handler(), parc_disable_callback(), parc_enable_callback(), and parc_init().

struct parc_config* parc_module::parc_cfg

Pointer to the PARC configuration structure.

uint8_t parc_module::registered_callback_mask

Bitmask of callbacks registered (for PARC driver use only).

Referenced by parc_init(), parc_register_callback(), and parc_unregister_callback().