PMSIS API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pad.h File Reference

Enumerations

enum  pi_pad_func_e
 Pad functions. More...
 
enum  pi_pad_flags_e
 Pad configuration flags. More...
 
enum  pi_pad_sleepcfg_flags_e
 Pad sleep configuration flags. More...
 

Functions

void pi_pad_set_function (pi_pad_e pad, pi_pad_func_e function)
 Set the function of one pad. More...
 
void pi_pad_init (uint32_t pad_values[])
 Set the function of all pads. More...
 
void pi_pad_set_configuration (pi_pad_e pad, pi_pad_flags_e cfg)
 Set the configuration for a pin. More...
 
void pi_pad_sleepcfg_set (uint32_t sleepcfg[], uint8_t sleep_ena)
 Set the sleep configuration for a set of pins. More...