4.6.2.1.8 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 4-10. Parameters
Data directionParameter nameDescription

[in]

conf

Configuration settings to use for the specified BOD12

Table 4-11. Return Values
Return valueDescription

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