Microchip® Advanced Software Framework

pac.h File Reference

SAM Peripheral Access Controller Driver.

Copyright (c) 2012-2020 Microchip Technology Inc. and its subsidiaries.

#include <compiler.h>
#include <system.h>

Macros

#define SYSTEM_PERIPHERAL_ID(peripheral)   ID_##peripheral
 Retrieves the ID of a specified peripheral name, giving its peripheral bus location. More...
 

Functions

Peripheral Lock and Unlock
__no_inline enum status_code system_peripheral_lock (const uint32_t peripheral_id, const uint32_t key)
 Lock a given peripheral's control registers. More...
 
__no_inline enum status_code system_peripheral_unlock (const uint32_t peripheral_id, const uint32_t key)
 Unlock a given peripheral's control registers. More...