Function bod12_set_config()

Configure a Brown Out Detector module.

enum status_code bod12_set_config(
		struct bod12_config *const conf)

Configures a given BOD module with the settings stored in the given configuration structure.

Table 1. Parameters
Data direction Parameter name Description

[in]

conf

Configuration settings to use for the specified BOD12

Table 2. Return Values
Return value Description

STATUS_OK

Operation completed successfully

STATUS_ERR_INVALID_ARG

An invalid BOD was supplied

STATUS_ERR_INVALID_OPTION

The requested BOD level was outside the acceptable range