RTEMS
5.0.0
|
Input/output module methods definitions. More...
Go to the source code of this file.
Functions | |
void | lpc176x_pin_select (uint32_t pin, lpc176x_pin_function function) |
Sets pin to the selected function. More... | |
void | lpc176x_pin_set_mode (const uint32_t pin, const lpc176x_pin_mode mode) |
Sets pin to the selected mode. More... | |
rtems_status_code | lpc176x_module_enable (lpc176x_module module, lpc176x_module_clock clock) |
Enables the module power and clock. More... | |
rtems_status_code | lpc176x_module_disable (lpc176x_module module) |
Checks if the current module is turned off and disables a module. More... | |
bool | lpc176x_module_is_enabled (lpc176x_module module) |
Checks if the current module is enabled or not. More... | |
Input/output module methods definitions.
|
inline |
Checks if the current module is turned off and disables a module.
module | Represents the module to be disabled. |
|
inline |
Enables the module power and clock.
module | Represents the module to be enabled. |
clock | Represents the clock to set for this module. |
bool lpc176x_module_is_enabled | ( | lpc176x_module | module | ) |
Checks if the current module is enabled or not.
module | Represents the module to be checked. |
|
inline |
Sets pin to the selected function.
pin | The pin to set. |
function | Defines the function to set. |
void lpc176x_pin_set_mode | ( | const uint32_t | pin, |
const lpc176x_pin_mode | mode | ||
) |
Sets pin to the selected mode.
pin | The pin to set. |
mode | Defines the mode to set. |