psoc-drivers 0.1.0

Hardware driver implementations for psoc-rs
//! Watchdog timers.
//!
//! PSOC devices have two types of watchdog timers: the WDT and the multi-counter WDT. A WDT is a
//! basic 16- or 32-bit timer (depending on the device) that can generate an interrupt or reset
//! when reaching a match value. A MCWDT is a more advanced timer supporting multiple counters that
//! can be run independently or chained together, various types of overflow and alarm events,
// Copyright (c) 2026, Infineon Technologies AG or an affiliate of Infineon Technologies AG.
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software distributed under the
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
// express or implied. See the License for the specific language governing permissions and
// limitations under the License.

/// Multi-counter watchdog timers.
pub mod mcwdt;

/// Watchdog timer.
pub mod wdt;