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.
Data direction | Parameter name | Description |
---|---|---|
[in] | conf |
Configuration settings to use for the specified BOD12 |
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 |