PebbleOS
Loading...
Searching...
No Matches
pbl_clk_controller_ops Struct Reference

Clock controller driver operations, called with interrupts locked. More...

#include <clk.h>

Data Fields

int(* enable )(const struct pbl_clk_controller *ctrl, uint32_t id)
 Ungate a clock.
 
int(* disable )(const struct pbl_clk_controller *ctrl, uint32_t id)
 Gate a clock.
 

Detailed Description

Clock controller driver operations, called with interrupts locked.

Field Documentation

◆ disable

int(* pbl_clk_controller_ops::disable) (const struct pbl_clk_controller *ctrl, uint32_t id)

Gate a clock.

Returns 0 or a negative errno.

◆ enable

int(* pbl_clk_controller_ops::enable) (const struct pbl_clk_controller *ctrl, uint32_t id)

Ungate a clock.

Returns 0 or a negative errno.


The documentation for this struct was generated from the following file: